diff options
author | Oliver Gondža <ogondza@gmail.com> | 2015-08-10 19:52:49 (GMT) |
---|---|---|
committer | Oliver Gondža <ogondza@gmail.com> | 2015-08-10 19:52:49 (GMT) |
commit | c7462f09a4ef3c6be7a68284d81779747bf7ab8d (patch) | |
tree | 11da707b6746baf846dcbfb4fb00fe7208829e79 /util/fbsetbg | |
parent | a1f647d09cb376ec79ee065161fef5cdf68771e2 (diff) | |
download | fluxbox-c7462f09a4ef3c6be7a68284d81779747bf7ab8d.zip fluxbox-c7462f09a4ef3c6be7a68284d81779747bf7ab8d.tar.bz2 |
fbsetbg: Report wallpaper directory path when invalid
Diffstat (limited to 'util/fbsetbg')
-rw-r--r-- | util/fbsetbg | 2 |
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 |
529 | fi | 529 | fi |