From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QzWvl-00046y-KV for garchives@archives.gentoo.org; Fri, 02 Sep 2011 16:49:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 809BF21C028; Fri, 2 Sep 2011 16:47:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 46ACA21C028 for ; Fri, 2 Sep 2011 16:47:45 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AB0DD1B4030 for ; Fri, 2 Sep 2011 16:47:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 1313B80042 for ; Fri, 2 Sep 2011 16:47:44 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <6d5b452ef5ef335821bd86eb9ad574acaa774f7b.WilliamH@gentoo> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/runscript.c X-VCS-Directories: src/rc/ X-VCS-Committer: WilliamH X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 6d5b452ef5ef335821bd86eb9ad574acaa774f7b Date: Fri, 2 Sep 2011 16:47:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 89e9a09542f65ae7d3c25ef158e25a0f commit: 6d5b452ef5ef335821bd86eb9ad574acaa774f7b Author: Flex gmail com> AuthorDate: Fri Sep 2 16:04:23 2011 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Sep 2 16:32:30 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/openrc.git;a=3D= commit;h=3D6d5b452e Do not ignore return code for custom script functions X-Gentoo-Bug: 380317 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=3D380317 --- src/rc/runscript.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/rc/runscript.c b/src/rc/runscript.c index 8278f5b..07bcfe7 100644 --- a/src/rc/runscript.c +++ b/src/rc/runscript.c @@ -1346,7 +1346,7 @@ runscript(int argc, char **argv) strerror(errno)); unhotplug(); } else - svc_exec(optarg, NULL); + retval =3D svc_exec(optarg, NULL); =20 /* We should ensure this list is empty after * an action is done */