From 4c1557d53a2a44decb66c1ad9e24db7e25b65c94 Mon Sep 17 00:00:00 2001 From: Leon Haag-Fank Date: Fri, 5 Apr 2024 13:11:52 +0200 Subject: [PATCH] fixed typo in docker entrypoint --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 4756820..cf16dec 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/sh [[ -n "$ZEITDL_UID" || -n "$ZEITDL_GID" ]] && chown_arg='-q' -if out=$(python ./zeit-dl "$ZEITDL_USER" "$ZEITDL_PASSWORD" ${ZEITDL_OPTIONS:=-o /data} $chown_arg) then +if out=$(python ./zeit-dl "$ZEITDL_USER" "$ZEITDL_PASSWORD" ${ZEITDL_OPTIONS:=-o /data} $chown_arg); then [[ -n "$ZEITDL_UID" ]] && chown $ZEITDL_UID "$out" [[ -n "$ZEITDL_GID" ]] && chgrp $ZEITDL_GID "$out" fi