@ -81,6 +81,6 @@ PARAMS+=("${NEXTCLOUD_URL}")
# main loop
while true; do
/bin/su -s /bin/sh "${USER_NAME}" -c /usr/bin/nextcloudcmd "${PARAMS[@]}"
/bin/su -s /bin/sh "${USER_NAME}" -- /usr/bin/nextcloudcmd "${PARAMS[@]}"
sleep "${NEXTCLOUD_SLEEP}"
done
The note is not visible to the blocked user.