summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fbsetbg4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/fbsetbg b/util/fbsetbg
index a12d427..47aa33b 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -308,6 +308,7 @@ while [ $# -gt 0 ]; do
308 remember=false 308 remember=false
309 break 309 break
310 fi 310 fi
311 ignore_missing_wallpaper=true
311 style="style" 312 style="style"
312 shift ;; 313 shift ;;
313 -Z) 314 -Z)
@@ -521,6 +522,9 @@ fi
521 522
522 523
523if [ ! -r "$wallpaper" ]; then 524if [ ! -r "$wallpaper" ]; then
525 if [ "$ignore_missing_wallpaper" == "true" ]; then
526 exit 0
527 fi
524 message "Can't find wallpaper $wallpaper" 528 message "Can't find wallpaper $wallpaper"
525 exit 1 529 exit 1
526fi 530fi