summaryrefslogtreecommitdiff
path: root/src/distro.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/distro.c')
-rw-r--r--src/distro.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/distro.c b/src/distro.c
index 8830e7c..75bf0a4 100644
--- a/src/distro.c
+++ b/src/distro.c
@@ -49,6 +49,7 @@ void display_distro() {
while (fgets(buf, sizeof(buf), p) != NULL) {
buf[strcspn(buf, "\n")] = '\0';
printf("%s", buf);
+ distroname = buf;
}
pclose(p);