fixed issue with sys.uptime being printed as 0
This commit is contained in:
parent
7a9018f664
commit
554b9fefae
1 changed files with 2 additions and 0 deletions
|
@ -143,6 +143,8 @@ int pkgman() { // this is just a function that returns the total of installed pa
|
||||||
}
|
}
|
||||||
|
|
||||||
void print_info() {
|
void print_info() {
|
||||||
|
// store sys info in the sys again
|
||||||
|
sysinfo(&sys);
|
||||||
// print collected info - from host to cpu info
|
// print collected info - from host to cpu info
|
||||||
printf( "\033[9A\033[18C%s%s%s@%s\n",
|
printf( "\033[9A\033[18C%s%s%s@%s\n",
|
||||||
NORMAL, BOLD, user, host);
|
NORMAL, BOLD, user, host);
|
||||||
|
|
Loading…
Reference in a new issue