Skip to content

Commit a677058

Browse files
Easter egg for uptime >= 100 days
Similiar to htop
1 parent 07a685b commit a677058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/uptime.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void ffPrintUptime(FFinstance* instance)
2121
else
2222
{
2323
if(days > 0)
24-
printf("%u day%s, ", days, days <= 1 ? "" : "s");
24+
printf("%u day%s%s, ", days, days <= 1 ? "" : "s", days < 100 ? "" : "(!)");
2525
if(hours > 0)
2626
printf("%u hour%s, ", hours, hours <= 1 ? "" : "s");
2727
if(minutes > 0)

0 commit comments

Comments
 (0)