nextcloud - fix unbound variable error

This commit is contained in:
2022-08-05 18:04:10 +02:00
parent 27a55e2623
commit 6f6d50d8ca

View File

@@ -105,7 +105,7 @@ step_106_info() { echoinfoArgs "<USER>"; 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"