]> git.proxmox.com Git - systemd.git/commit
Don't change behavior of SysV init scripts using "set -e" or "set -u"
authorAnsgar Burchardt <ansgar@debian.org>
Tue, 24 Jun 2014 14:11:33 +0000 (16:11 +0200)
committerMichael Biebl <biebl@debian.org>
Tue, 24 Jun 2014 14:17:39 +0000 (16:17 +0200)
commit28002a9c8c2da9615d0b0f6452df01e637638df3
tree17236e21c3182fa99f3be56b9a10086fed3a74a3
parent189af6171b700b3a39b66cd32ad11e55763946f2
Don't change behavior of SysV init scripts using "set -e" or "set -u"

/lib/lsb/init-functions.d/40-systemd unconditionally uses "set +e; set
+u". This can change the behavior of init scripts that use "set -e"
and/or "set -u".

Change the systemd integration to not rely on "set +e" or "set +u" but
instead work correctly in all cases by catching all commands that might
fail.

Closes: #751472
debian/changelog
debian/init-functions.d/40-systemd