commit: 0d1f1010c299a95332f224c3be9e8dfdd85eec54
Author: William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Mon Sep 19 23:03:57 2016 +0000
Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Mon Sep 19 23:03:57 2016 +0000
URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=0d1f1010
Remove eval calls from supervisor start functions
This fixes #77.
sh/start-stop-daemon.sh | 2 +-
sh/supervise-daemon.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sh/start-stop-daemon.sh b/sh/start-stop-daemon.sh
index 6f396b3..0449e5b 100644
--- a/sh/start-stop-daemon.sh
+++ b/sh/start-stop-daemon.sh
@@ -38,7 +38,7 @@ ssd_start()
service_inactive && _inactive=true
mark_service_inactive
fi
- eval start-stop-daemon --start \
+ start-stop-daemon --start \
--exec $command \
${chroot:+--chroot} $chroot \
${procname:+--name} $procname \
diff --git a/sh/supervise-daemon.sh b/sh/supervise-daemon.sh
index e6ac117..389635f 100644
--- a/sh/supervise-daemon.sh
+++ b/sh/supervise-daemon.sh
@@ -19,7 +19,7 @@ supervise_start()
fi
ebegin "Starting ${name:-$RC_SVCNAME}"
- eval supervise-daemon --start \
+ supervise-daemon --start \
${chroot:+--chroot} $chroot \
${pidfile:+--pidfile} $pidfile \
${command_user+--user} $command_user \