Fix bug #4492 better, the test in openbox-gnome-session needs to be inverted
[mikachu/openbox.git] / data / xsession / openbox-gnome-session.in
index 1f17edb..8dd799c 100644 (file)
@@ -37,7 +37,7 @@ else
   if test -z "$SESSION"; then
       # if its empty then just run openbox
       SESSION="[openbox]"
-  elif 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