stumpwm-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[STUMP] [PATCH] Fix /dev/null redirect in stumpish.


From: John Li
Subject: [STUMP] [PATCH] Fix /dev/null redirect in stumpish.
Date: Sun, 27 Jul 2008 23:30:03 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

---

This'll actually direct all output /dev/null, which presumably is what
was intended.

 contrib/stumpish |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/stumpish b/contrib/stumpish
index 717d774..1b425f1 100755
--- a/contrib/stumpish
+++ b/contrib/stumpish
@@ -121,7 +121,7 @@ then
 else
     if [ -t 0 ]
     then
-       if [ $READLINE = yes ] && type rlwrap 2>&1 >/dev/null
+       if [ $READLINE = yes ] && type rlwrap >/dev/null 2>&1
        then
            # Note: $TEMP is not conventional; it is left here purely
            # for backwards compatibility.
-- 
1.5.6.2





reply via email to

[Prev in Thread] Current Thread [Next in Thread]