From: Dana Jansens Date: Wed, 6 Jan 2010 02:37:58 +0000 (-0500) Subject: fix a broken if statement (bug #4464) X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=c6370aa48a2832eb4f26aa73662326e0fc4dc99f;p=chaz%2Fopenbox fix a broken if statement (bug #4464) --- diff --git a/data/xsession/openbox-gnome-session.in b/data/xsession/openbox-gnome-session.in index de46bec5..6765ae82 100644 --- a/data/xsession/openbox-gnome-session.in +++ b/data/xsession/openbox-gnome-session.in @@ -46,7 +46,7 @@ else OB_SESSION=$(gconftool-2 -g $SPATH/openbox_session 2> /dev/null) # update the GNOME/Openbox session if needed - if x$OB_SESSION != x$SESSION; then + if test x$OB_SESSION != x$SESSION; then # the default session changed or we didn't run GNOME/Openbox before gconftool-2 -t list --list-type=strings -s $SPATH/openbox_session \ "$SESSION" 2> /dev/null