[arch-projects] [initscripts][PATCH] rc: exit with error count, not error sum

2011-04-24 Thread Dave Reisner
cc199761f assumes that /etc/rc.d scripts will exit with a value of 0 or 1. Since this can't be guaranteed, clamp the return value to 0 or 1 before adding it to the exit value. --- rc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/rc b/rc index 1e64119..54dc11c 100755

Re: [arch-projects] [initscripts][PATCH] rc: exit with error count, not error sum

2011-04-24 Thread Dave Reisner
On Mon, Apr 25, 2011 at 12:07:07AM +0200, Seblu wrote: On Sun, Apr 24, 2011 at 11:42 PM, Dave Reisner d...@falconindy.com wrote: cc199761f assumes that /etc/rc.d scripts will exit with a value of 0 or 1. Since this can't be guaranteed, clamp the return value to 0 or 1 before adding it to