From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2B5AA1384BC for ; Tue, 15 Jan 2013 18:36:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABBAA21C029; Tue, 15 Jan 2013 18:36:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E78A21C029 for ; Tue, 15 Jan 2013 18:36:26 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5574B33D972 for ; Tue, 15 Jan 2013 18:36:25 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E754DE4073 for ; Tue, 15 Jan 2013 18:36:23 +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: <1358274972.cb31b132767db0d67941e4de022f2a21deb3ca74.WilliamH@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: sh/ X-VCS-Repository: proj/openrc X-VCS-Files: sh/runscript.sh.in X-VCS-Directories: sh/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: cb31b132767db0d67941e4de022f2a21deb3ca74 X-VCS-Branch: master Date: Tue, 15 Jan 2013 18:36:23 +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: f4985198-ebdd-44d0-beda-76d6fb4b47ed X-Archives-Hash: 2b76a855a390a2731b077349272e61a0 commit: cb31b132767db0d67941e4de022f2a21deb3ca74 Author: William Hubbs gmail com> AuthorDate: Tue Jan 15 18:36:12 2013 +0000 Commit: William Hubbs gentoo org> CommitDate: Tue Jan 15 18:36:12 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=cb31b132 typo fix --- sh/runscript.sh.in | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sh/runscript.sh.in b/sh/runscript.sh.in index 237186a..f953afb 100644 --- a/sh/runscript.sh.in +++ b/sh/runscript.sh.in @@ -161,9 +161,9 @@ start() stop() { - local startcommand="$(rc_service_get "command")" - local startpidfile="$(rc_service_get "pidfile")" - local startprocname="$(rc_service_get "procname")" + local startcommand="$(service_get_value "command")" + local startpidfile="$(service_get_value "pidfile")" + local startprocname="$(service_get_value "procname")" command="${startcommand:-$command}" pidfile="${startpidfile:-$pidfile}" procname="${startprocname:-$procname}"