chiark / gitweb /
systemctl: do not use -1 for return code
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 13 Dec 2014 17:43:07 +0000 (12:43 -0500)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 16 Dec 2014 05:30:33 +0000 (00:30 -0500)
commit5b013a2f67a5914d6e86e3914f40cf44a03da091
treea577a97c956bd066f808a086707366c8adfdc9d0
parent1a7f1b385cd9de8a0da934fadc379860f914ef33
systemctl: do not use -1 for return code

Also make the error messages more specific to give a hint to the user
how to solve the problem.
src/systemctl/systemctl.c