[hackers] [wmii] Launch the stock wmiirc if wmiirc fails || Kris Maglione

From: <hg_AT_suckless.org>
Date: Thu, 16 Oct 2008 21:40:16 +0000 (UTC)

changeset: 2380:990a608fc810
tag: tip
user: Kris Maglione <jg_AT_suckless.org>
date: Thu Oct 16 17:40:14 2008 -0400
files: cmd/wmiistartrc.sh
description:
Launch the stock wmiirc if wmiirc fails

diff -r 6eb502730767 -r 990a608fc810 cmd/wmiistartrc.sh
--- a/cmd/wmiistartrc.sh Thu Oct 16 17:05:56 2008 -0400
+++ b/cmd/wmiistartrc.sh Thu Oct 16 17:40:14 2008 -0400
@@ -16,5 +16,5 @@
 fi
 
 mkdir $lconf 2>/dev/null && $gconf/welcome &
-exec "$WMIIRC" "$@"
+"$WMIIRC" "$@" || exec "$gconf/wmiirc" "$@"
 
Received on Thu Oct 16 2008 - 21:40:16 UTC

This archive was generated by hypermail 2.2.0 : Thu Oct 16 2008 - 21:48:04 UTC