chiark / gitweb /
systemctl: it's probably a good idea not to alter return parameters if we fail
authorLennart Poettering <lennart@poettering.net>
Thu, 17 Jan 2013 23:53:06 +0000 (00:53 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Jan 2013 23:53:09 +0000 (00:53 +0100)
commitd54110d11d5ea3381cfdd129356b91669b547216
tree77a3b2e0e03751935637f50b73efd7df0eb686c8
parent52a2ab41e029728ef0a4303d7aafc9d47f116004
systemctl: it's probably a good idea not to alter return parameters if we fail

We generally follow the rule not to touch return values unless we
succeed, so for the sake of uniformity do the same here.
src/systemctl/systemctl.c