From e69fd0d88f9afc553769aad5ae2ec98112f8406a Mon Sep 17 00:00:00 2001 From: markt <markt> Date: Sun, 25 Mar 2007 07:01:46 +0000 Subject: I swear I already committed this --- util/fbsetbg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/fbsetbg b/util/fbsetbg index 60118e5..718b19e 100644 --- a/util/fbsetbg +++ b/util/fbsetbg @@ -298,6 +298,8 @@ while [ $# -gt 0 ]; do wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2` if [ -z "$wallpaper" ]; then option=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f1` + option2=`echo $option|cut -d' ' -f2` + option=`echo $option|cut -d' ' -f1` wallpaper=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f2` fi if [ -z "$wallpaper" ]; then -- cgit v0.11.2