summaryrefslogtreecommitdiff
path: root/packaging/debs
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert@lshift.net>2008-09-09 16:15:09 +0100
committerHubert Plociniczak <hubert@lshift.net>2008-09-09 16:15:09 +0100
commit7088e40de2a37f011f5a131dfd0a33c8c406426f (patch)
tree33db49b350583cf121a33a004db8218f367551ad /packaging/debs
parent99ccc207256b47a7ff786614cc9162b2adbf8cb4 (diff)
downloadrabbitmq-server-git-7088e40de2a37f011f5a131dfd0a33c8c406426f.tar.gz
Fixed various QA remarks.
Renamed rotate_logs_all to rotate_logs. logrotate will fail silently to logrotate if calling rotate_logs on any of the logs failed.
Diffstat (limited to 'packaging/debs')
-rw-r--r--packaging/debs/Debian/debian/init.d3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/debs/Debian/debian/init.d b/packaging/debs/Debian/debian/init.d
index 278d76f04d..da9d70f2e4 100644
--- a/packaging/debs/Debian/debian/init.d
+++ b/packaging/debs/Debian/debian/init.d
@@ -55,8 +55,7 @@ stop_rabbitmq () {
rotate_logs_rabbitmq() {
set +e
- su $USER -s /bin/sh -c "$DAEMON rotate_logs_all ${ROTATE_SUFFIX}" 2>&1
- RETVAL=$?
+ su $USER -s /bin/sh -c "$DAEMON rotate_logs ${ROTATE_SUFFIX}" 2>&1
set -e
}