From: Dana Jansens Date: Sun, 24 Jan 2010 05:07:56 +0000 (-0500) Subject: Fix bug #4492 better, the test in openbox-gnome-session needs to be inverted X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=14f8b4cb544bf50d059b0feb85585e19b77752c7;p=chaz%2Fopenbox Fix bug #4492 better, the test in openbox-gnome-session needs to be inverted --- diff --git a/data/xsession/openbox-gnome-session.in b/data/xsession/openbox-gnome-session.in index 1f17edbc..8dd799c0 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 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