summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/xsession/openbox-gnome-session.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/xsession/openbox-gnome-session.in b/data/xsession/openbox-gnome-session.in
index 6765ae82..1f17edbc 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