diff --git a/entrypoint.sh b/entrypoint.sh index 2784ae2..8ffffc0 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -4,7 +4,7 @@ set -eu export GITHUB="true" -[ -n "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s" -[ -n "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m" +[ -z "$INPUT_TIMEOUT" ] && export INPUT_TIMEOUT="30s" +[ -z "$INPUT_COMMAND_TIMEOUT" ] && export INPUT_COMMAND_TIMEOUT="1m" sh -c "/bin/drone-scp $*"