diff options
author | mathias <mathias> | 2006-01-23 22:52:56 (GMT) |
---|---|---|
committer | mathias <mathias> | 2006-01-23 22:52:56 (GMT) |
commit | c3e6efb4e2866f11254f968e17941b7254df692f (patch) | |
tree | ae452896cc9b7a0f2f869a082df4a99adc9f5a65 /util | |
parent | b429656122da7a3f75bfb6a30ff5086506982ddc (diff) | |
download | fluxbox-c3e6efb4e2866f11254f968e17941b7254df692f.zip fluxbox-c3e6efb4e2866f11254f968e17941b7254df692f.tar.bz2 |
little fix for fbsetbg (patch from mark tiefenbruck)
Diffstat (limited to 'util')
-rw-r--r-- | util/fbsetbg | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/util/fbsetbg b/util/fbsetbg index 8f77f52..5e58e19 100644 --- a/util/fbsetbg +++ b/util/fbsetbg | |||
@@ -288,6 +288,10 @@ while [ $# -gt 0 ]; do | |||
288 | option=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f1` | 288 | option=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f1` |
289 | wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2` | 289 | wallpaper=`grep "|${DISPLAY}$" $lastwallpaper|cut -d'|' -f2` |
290 | if [ -z "$wallpaper" ]; then | 290 | if [ -z "$wallpaper" ]; then |
291 | option=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f1` | ||
292 | wallpaper=`grep "|${DISPLAY}.0$" $lastwallpaper|cut -d'|' -f2` | ||
293 | fi | ||
294 | if [ -z "$wallpaper" ]; then | ||
291 | message "No previous wallpaper recorded for display ${DISPLAY}" | 295 | message "No previous wallpaper recorded for display ${DISPLAY}" |
292 | exit 1 | 296 | exit 1 |
293 | fi | 297 | fi |