]> git.p6c8.net - jirafeau_mojo42.git/commitdiff
[BUFIX] fix bash script to send files
authorJerome Jutteau <jerome@jutteau.fr>
Fri, 20 Nov 2020 17:25:25 +0000 (18:25 +0100)
committerJerome Jutteau <jerome@jutteau.fr>
Fri, 20 Nov 2020 17:25:25 +0000 (18:25 +0100)
Signed-off-by: Jerome Jutteau <jerome@jutteau.fr>
script.php

index ab9adee2186efe371ae4f354a3c2fe581a988666..2cc716b7f48c36da21fe0407672d5cee8723f317 100644 (file)
@@ -301,7 +301,7 @@ if [ -n "$one_time" ]; then
     options="$options -F one_time_download=1"
 fi
 
     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
 
     options="$options -F upload_password=$upload_password"
 fi
 

patrick-canterino.de