aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/arch/linux/common/os.h
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2010-01-04 22:29:04 -0200
committerLeandro Pereira <leandro@hardinfo.org>2010-01-04 22:29:04 -0200
commit148870bd0d9197dc4cfc08acf6be0c756d0f06bc (patch)
tree9beecf5980fa8796234363f92bb8e3a6a969fedb /hardinfo2/arch/linux/common/os.h
parentddf6c3314585b3aacc7c93ab7bc1cab2e73d5fc3 (diff)
Implement the graphical summary view in the shell, and do a proof of concept implementation for computer.so module.
Diffstat (limited to 'hardinfo2/arch/linux/common/os.h')
-rw-r--r--hardinfo2/arch/linux/common/os.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hardinfo2/arch/linux/common/os.h b/hardinfo2/arch/linux/common/os.h
index 23d4a7af..93d10f13 100644
--- a/hardinfo2/arch/linux/common/os.h
+++ b/hardinfo2/arch/linux/common/os.h
@@ -195,6 +195,8 @@ computer_get_os(void)
}
}
+ os->distro = g_strstrip(os->distro);
+
/* Kernel and hostname info */
uname(&utsbuf);
os->kernel_version = g_strdup(utsbuf.version);