systemctl: fix an error condition from "-1" to something meaningful
authorLennart Poettering <lennart@poettering.net>
Fri, 24 Jun 2016 19:03:47 +0000 (21:03 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 24 Jun 2016 19:03:47 +0000 (21:03 +0200)
commitdbf43a1b3a10b8e50eca3866687989ca5b21dabd
tree80be39c8e8fd59fd41438e8813ee794020a453b4
parent47be5f0742caf56d38b41ae97dff21303d3ed264
systemctl: fix an error condition from "-1" to something meaningful

We really shouldn't make up errors like "-1", but use proper errno definitions.
src/systemctl/systemctl.c