From 6f6d50d8ca7fc6be6b0b91bb5edcdbb5c85efd22 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Fri, 5 Aug 2022 18:04:10 +0200 Subject: [PATCH] nextcloud - fix unbound variable error --- seqs/nextcloud.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seqs/nextcloud.sh b/seqs/nextcloud.sh index d7e1804..e0d463b 100755 --- a/seqs/nextcloud.sh +++ b/seqs/nextcloud.sh @@ -105,7 +105,7 @@ step_106_info() { echoinfoArgs ""; echo "Scan the music library"; } step_106_alias() { echo "audioscan"; } step_106() { shift - local ncUser=$1 + local ncUser="${1:-}" if [ -z "$ncUser" ] ; then error -e "Reset only for single user"