summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu-arm.c
diff options
context:
space:
mode:
authorKarel Zak2018-08-13 14:16:28 +0200
committerKarel Zak2018-08-13 14:16:28 +0200
commitba1e20349753efb4a6d255f4fe2f6ebdda590ed9 (patch)
tree5586e039c6c750ee6a804aa5e4d807173a67f2e1 /sys-utils/lscpu-arm.c
parentlslogins: add info about single-user output mode (diff)
downloadkernel-qcow2-util-linux-ba1e20349753efb4a6d255f4fe2f6ebdda590ed9.tar.gz
kernel-qcow2-util-linux-ba1e20349753efb4a6d255f4fe2f6ebdda590ed9.tar.xz
kernel-qcow2-util-linux-ba1e20349753efb4a6d255f4fe2f6ebdda590ed9.zip
lslogins: return 1 on "lslogins nonexisting"
The default behavior for -l and -g is to silently ignore unknown login names, but this is very confusing when you explicitly specify just one login name. Note that the current implementation also prints empty "Last log" for nonexisting user. It seems ugly. # lslogins nonexisting Last logs: new version: # lslogins nonexisting lt-lslogins: cannot found 'nonexisting' # echo $? 1 The -l and -g behaviour has not been changed. Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1614967 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu-arm.c')
0 files changed, 0 insertions, 0 deletions