projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8200ae
)
Fixes bug #4492 (mis-using the return value of grep -q in openbox-gnome-session script
author
Dana Jansens
<danakj@orodu.net>
Tue, 12 Jan 2010 18:59:25 +0000
(13:59 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Tue, 12 Jan 2010 19:29:23 +0000
(14:29 -0500)
data/xsession/openbox-gnome-session.in
patch
|
blob
|
history
diff --git
a/data/xsession/openbox-gnome-session.in
b/data/xsession/openbox-gnome-session.in
index
6765ae8
..
1f17edb
100644
(file)
--- 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