diff --git a/proc/whattime.c b/proc/whattime.c index eb345fb1..10e78c3f 100644 --- a/proc/whattime.c +++ b/proc/whattime.c @@ -146,10 +146,10 @@ char *sprint_uptime(int human_readable) { comma += 1; } - if (upminutes) { - pos += sprintf(buf + pos, "%s%d %s", comma > 0 ? ", " : "", upminutes, - upminutes > 1 ? "minutes" : "minute"); - comma += 1; + if (upminutes || (!upminutes && uptime_secs < 60)) { + pos += sprintf(buf + pos, "%s%d %s", comma > 0 ? ", " : "", upminutes, + upminutes != 1 ? "minutes" : "minute"); + comma += 1; } }