From: Jerome Jutteau Date: Fri, 20 Nov 2020 17:25:25 +0000 (+0100) Subject: [BUFIX] fix bash script to send files X-Git-Tag: 4.2.0~5 X-Git-Url: https://git.p6c8.net/jirafeau.git/commitdiff_plain/3426456f3f8fcecd88b76f17f645b25969787f05?ds=inline [BUFIX] fix bash script to send files Signed-off-by: Jerome Jutteau --- diff --git a/script.php b/script.php index ab9adee..2cc716b 100644 --- a/script.php +++ b/script.php @@ -301,7 +301,7 @@ if [ -n "$one_time" ]; then options="$options -F one_time_download=1" fi -f [ -n "$upload_password" ]; then +if [ -n "$upload_password" ]; then options="$options -F upload_password=$upload_password" fi