main: no need to set errno manually
authorAlexander Kuleshov <kuleshovmail@gmail.com>
Tue, 16 Feb 2016 12:42:45 +0000 (18:42 +0600)
committerAlexander Kuleshov <kuleshovmail@gmail.com>
Tue, 16 Feb 2016 12:56:15 +0000 (18:56 +0600)
commitb9f65a60c28d191bb9bbd5668593e56885250644
tree1e74ccb4a1b9a87d3fb658e0703adab28a831ac8
parent6043679c6ec485a96926f07c26d77f2c0c246fe2
main: no need to set errno manually

If we are not PID 1 and started as init, we executing systemctl
with execv(). Here no need to set errno manually, because in a
failure case, because the execv() anyway will set errno depends
on a error.
src/core/main.c