diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2014-11-28 15:38:05 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-11-28 17:08:51 +0100 |
commit | 5567fafbc9d83a1391f23ecdbe698a3c03929370 (patch) | |
tree | d86b3284a548831a7a1eb5726aae0e6ae22afc77 /src/nss-resolve | |
parent | 755bde375f4db393ad06e73340bfcf4d0cf91bb2 (diff) |
hostnamectl: Exit with zero on success
In show_all_names(), bus_map_all_properties() returns 1 on success which is
then used as the return code of show_all_names() and eventually main(). Exit
with zero in main() on all nonnegative results to guard against similar errors.
Diffstat (limited to 'src/nss-resolve')
0 files changed, 0 insertions, 0 deletions