Fix bug #4492 better, the test in openbox-gnome-session needs to be inverted
This commit is contained in:
parent
374888f5e9
commit
14f8b4cb54
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue