You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
766 B
20 lines
766 B
commit 62e36ad0410ce888e7097e7bce5cbbf67b5b6290
|
|
Author: Dana Jansens <danakj@orodu.net>
|
|
Date: Tue Jan 12 13:59:25 2010 -0500
|
|
|
|
Fixes bug #4492 (mis-using the return value of grep -q in openbox-gnome-session script
|
|
|
|
diff --git a/data/xsession/openbox-gnome-session.in b/data/xsession/openbox-gnome-session.in
|
|
index 6765ae8..1f17edb 100644
|
|
--- a/data/xsession/openbox-gnome-session.in
|
|
+++ b/data/xsession/openbox-gnome-session.in
|
|
@@ -37,7 +37,7 @@ else
|
|
if test -z "$SESSION"; then
|
|
# if its empty then just run openbox
|
|
SESSION="[openbox]"
|
|
- elif test -z $(echo "$SESSION" | grep -q openbox); then
|
|
+ elif echo "$SESSION" | grep -q openbox; then
|
|
# if openbox isn't in the session then append it
|
|
SESSION="${SESSION%]},openbox]"
|
|
fi
|