summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorcoastal-hiker2017-06-27 14:14:49 +0200
committerKarel Zak2017-07-10 10:03:41 +0200
commit62f3e715972686670df030c1b0770c4527e40d9d (patch)
treebca00b5f792c54e2cb2f7959f778e32a9d095846 /term-utils/agetty.c
parentlast: don't show negative time (diff)
downloadkernel-qcow2-util-linux-62f3e715972686670df030c1b0770c4527e40d9d.tar.gz
kernel-qcow2-util-linux-62f3e715972686670df030c1b0770c4527e40d9d.tar.xz
kernel-qcow2-util-linux-62f3e715972686670df030c1b0770c4527e40d9d.zip
last: condition (secs == 0) - now handled correctly
Changed comparison "if (secs > 0)" to "if (secs >= 0)" to handle condition (secs == 0) correctly. Suggestions to improve the less-than-elegant if-else chain are welcome. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.c')
0 files changed, 0 insertions, 0 deletions