[hackers] [wmii] Make sure that wmii9rc normally exits with a true exit status.

From: Kris Maglione <jg_AT_suckless.org>
Date: Thu Mar 15 20:41:28 2007

changeset: 2016:15028e842f65
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Mar 15 15:38:18 2007 -0400
summary: Make sure that wmii9rc normally exits with a true exit status.

diff -r df9313834e39 -r 15028e842f65 wmii9rc
--- a/wmii9rc Thu Mar 15 13:31:42 2007 -0400
+++ b/wmii9rc Thu Mar 15 15:38:18 2007 -0400
@@ -10,5 +10,7 @@ if [ ! -n "$RC" ]; then
 if [ ! -n "$RC" ]; then
         exit 1
 elif [ "X$@" != "X" ]; then
- $RC $@
-fi
\ No newline at end of file
+ exec $RC $@
+else
+ true
+fi
Received on Thu Mar 15 2007 - 20:41:28 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:56:18 UTC