From 554b9fefae25abe11b6153a912a99b6732c7cd19 Mon Sep 17 00:00:00 2001 From: dqnk Date: Wed, 7 Apr 2021 13:17:29 +0200 Subject: [PATCH] fixed issue with sys.uptime being printed as 0 --- uwufetch.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/uwufetch.c b/uwufetch.c index e346a2c..f0427a4 100644 --- a/uwufetch.c +++ b/uwufetch.c @@ -143,6 +143,8 @@ int pkgman() { // this is just a function that returns the total of installed pa } void print_info() { + // store sys info in the sys again + sysinfo(&sys); // print collected info - from host to cpu info printf( "\033[9A\033[18C%s%s%s@%s\n", NORMAL, BOLD, user, host);