The following also does not work for dash when GNOME_DESKTOP_SESSION_ID
is *not* set.

if [ "$GNOME_DESKTOP_SESSION_ID" = "Failsafe" ]; then
    abort_with_fallback_wm
fi

The fix would be to use
if [ "x$GNOME_DESKTOP_SESSION_ID" = "xFailsafe" ]; then
as is used at other string comparisons.

-- 
compiz.wrapper not pretty with bash
https://bugs.launchpad.net/bugs/131584
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to