Do not assert if systemctl fails to execute.
It should be a soft failure if systemctl fails to execute and we cannot restart all the daemons.
This commit is contained in:
parent
da2736300e
commit
6079b05db6
@ -2069,7 +2069,7 @@ then
|
||||
local pid = posix.fork()
|
||||
if pid == 0 then
|
||||
posix.redirect2null(2)
|
||||
assert(posix.exec("%{_prefix}/bin/systemctl", "daemon-reexec"))
|
||||
posix.exec("%{_prefix}/bin/systemctl", "daemon-reexec")
|
||||
elseif pid > 0 then
|
||||
posix.wait(pid)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user