author | Sebastian Harl <sh@tokkee.org> | |
Sun, 15 Jul 2012 09:12:29 +0000 (11:12 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 15 Jul 2012 09:12:29 +0000 (11:12 +0200) | ||
commit | 5fd4903ea0ddbec78be5a241c4de2ddb4a2e14f2 | |
tree | 7c3f8e62d3c13a056808b744e228057fa8c9e068 | tree | snapshot |
parent | a4a177cd4708317a1fb36516fd0d6f231618f9d0 | commit | diff |
collectd-core.collectd.init.d: Catch disabled state in start/restart.
Don't exit with an error status in that case. Amongst others, this fixes an
upgrade of collectd when the daemon is disabled.
Thanks to Florian Ernst for reporting this and Evgeni Golov for providing (an
early) patch!
To let those changes to work correctly, don't use 'set -e' and 'exit 0' (at
the end) in order to let return statuses propagate correctly.
Closes: #681216
Don't exit with an error status in that case. Amongst others, this fixes an
upgrade of collectd when the daemon is disabled.
Thanks to Florian Ernst for reporting this and Evgeni Golov for providing (an
early) patch!
To let those changes to work correctly, don't use 'set -e' and 'exit 0' (at
the end) in order to let return statuses propagate correctly.
Closes: #681216
debian/changelog | diff | blob | history | |
debian/collectd-core.collectd.init.d | diff | blob | history |