aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Gondža <ogondza@gmail.com>2015-08-10 19:52:49 (GMT)
committerOliver Gondža <ogondza@gmail.com>2015-08-10 19:52:49 (GMT)
commitc7462f09a4ef3c6be7a68284d81779747bf7ab8d (patch)
tree11da707b6746baf846dcbfb4fb00fe7208829e79
parenta1f647d09cb376ec79ee065161fef5cdf68771e2 (diff)
downloadfluxbox-c7462f09a4ef3c6be7a68284d81779747bf7ab8d.zip
fluxbox-c7462f09a4ef3c6be7a68284d81779747bf7ab8d.tar.bz2
fbsetbg: Report wallpaper directory path when invalid
-rw-r--r--util/fbsetbg2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/fbsetbg b/util/fbsetbg
index e277317..17c2efe 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -523,7 +523,7 @@ if [ "$option" = random ]; then
523 wallpaper="$wallpaperdir/`ls \"$wallpaperdir\"|sed -n ${wallpapernumber}p`" 523 wallpaper="$wallpaperdir/`ls \"$wallpaperdir\"|sed -n ${wallpapernumber}p`"
524 option=$option2 # have to choose something... 524 option=$option2 # have to choose something...
525 else 525 else
526 message "Invalid random wallpaper directory specified." 526 message "Invalid random wallpaper directory specified: '$wallpaperdir'."
527 exit 1 527 exit 1
528 fi 528 fi
529fi 529fi