FS#17802 - [openbox] mistake in /usr/bin/openbox-gnome-session
Attached to Project:
Arch Linux
Opened by Eugene Arshinov (statc) - Tuesday, 12 January 2010, 16:24 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 26 January 2010, 16:32 GMT
Opened by Eugene Arshinov (statc) - Tuesday, 12 January 2010, 16:24 GMT
Last edited by Andrea Scarpino (BaSh) - Tuesday, 26 January 2010, 16:32 GMT
|
Details
There is a little mistake in /usr/bin/openbox-gnome-session
script:
<...> # make sure openbox is going to be run if test -z "$SESSION"; then # if its empty then just run openbox SESSION="[openbox]" elif test -z $(echo "$SESSION" | grep -q openbox); then # if openbox isn't in the session then append it SESSION="${SESSION%]},openbox]" fi <...> `grep -q' never prints anything, so `test -z $(...)' will always evaluate to "true". openbox 3.4.10-1 |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Tuesday, 26 January 2010, 16:32 GMT
Reason for closing: Fixed
Additional comments about closing: openbox 3.4.10-3
Tuesday, 26 January 2010, 16:32 GMT
Reason for closing: Fixed
Additional comments about closing: openbox 3.4.10-3
elif echo "$SESSION" | grep -q openbox; then
should be:
! elif echo "$SESSION" | grep -q openbox; then
comment posted upstream too.