From 73b72c0a6accb2ce14888310d8abf6ac819e0c9c Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 3 Oct 2021 14:49:05 +0100 Subject: [PATCH] bin/remote-slideshow: Handle the case of no arguments correctly. D'oh! --- bin/remote-slideshow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/remote-slideshow b/bin/remote-slideshow index 4a49a60..7b2df15 100755 --- a/bin/remote-slideshow +++ b/bin/remote-slideshow @@ -10,7 +10,7 @@ case $ok in esac dirs=$1 host=${2%:*} dpy=${2##*:}; shift 2 case $#,$1 in - 0 | 1,:slideshow) + 0, | 1,:slideshow) set -- /usr/lib/xscreensaver/glslideshow -duration 60 -pan 10 \ -xrm "'*desktopGrabber: ./getimg %s'" ;; -- 2.11.0