systemctl: Replace init script error codes with enum (#3400)
authorSusant Sahani <ssahani@users.noreply.github.com>
Tue, 31 May 2016 13:36:58 +0000 (19:06 +0530)
committerLennart Poettering <lennart@poettering.net>
Tue, 31 May 2016 13:36:58 +0000 (15:36 +0200)
commitb613907ea988e2994c68be686b5e92cdc7d3fb68
tree60714e2515e0468ab1610cb2ab6771309bb7d7ff
parentaa31ce181268bb577f58684ca3ef342700000ddf
systemctl: Replace init script error codes with enum (#3400)

Now we just using constants for the init script exit status codes.
Replace those error codes with enum so that it's more meaningful
and readable.
src/systemctl/systemctl.c