From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 15D48138330 for ; Mon, 19 Sep 2016 23:06:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3DBCE09B2; Mon, 19 Sep 2016 23:06:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6DDB1E09B2 for ; Mon, 19 Sep 2016 23:06:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 23749340C02 for ; Mon, 19 Sep 2016 23:05:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 341FA2465 for ; Mon, 19 Sep 2016 23:05:56 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1474326237.0d1f1010c299a95332f224c3be9e8dfdd85eec54.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: sh/ X-VCS-Repository: proj/openrc X-VCS-Files: sh/start-stop-daemon.sh sh/supervise-daemon.sh X-VCS-Directories: sh/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 0d1f1010c299a95332f224c3be9e8dfdd85eec54 X-VCS-Branch: master Date: Mon, 19 Sep 2016 23:05:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fcd47657-f77f-4bb0-8a3b-b3f6fecd0815 X-Archives-Hash: 4e94691869a4d192ba031d3fe739ab94 commit: 0d1f1010c299a95332f224c3be9e8dfdd85eec54 Author: William Hubbs gmail com> AuthorDate: Mon Sep 19 23:03:57 2016 +0000 Commit: William Hubbs gentoo 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 \