[SCM] rotter/master: Run 'sleep' via env to avoid any interference from the shell.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Sat Dec 6 15:44:24 UTC 2014
The following commit has been merged in the master branch:
commit 2bd320c956cd1002e308fdc1bbf94e191c90c40e
Author: Alessio Treglia <alessio at debian.org>
Date: Sat Dec 6 15:43:19 2014 +0000
Run 'sleep' via env to avoid any interference from the shell.
Closes: #772403
diff --git a/debian/rotter.init b/debian/rotter.init
index 1b9c15c..663da74 100644
--- a/debian/rotter.init
+++ b/debian/rotter.init
@@ -33,6 +33,10 @@ test -f $DAEMON || exit 0
. /lib/lsb/init-functions
+sleep() {
+ env - /bin/sleep "$1"
+}
+
case "$1" in
start)
if test -e $PIDFILE ; then
--
rotter packaging
More information about the pkg-multimedia-commits
mailing list