diff options
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 |