summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 11d5f9f..b6e7531 100644
--- a/main.c
+++ b/main.c
@@ -35,6 +35,7 @@ int main(int argc, char *argv[]) {
#include "src/logo/freebsd.h"
getOS();
#elif defined(__linux__)
+ get_distro();
#include "src/logo/linux.h"
getDistro(distroname);
#else
@@ -102,9 +103,8 @@ int main(int argc, char *argv[]) {
#if defined(__linux__)
printf("%s ", LOGO[lc]);
- printf(COLOR"%s%s"RESET, "Distro", ": ");
- display_distro();
- printf("\n");
+ printf("%s%s%s"RESET, color, "Distro", ": ");
+ printf("%s\n", display_distro());
lc++;
#endif