]> git.p6c8.net - jirafeau.git/commitdiff
Fix JIRAFEAU_UPLOAD_PASSWD use.
authorAsharas <2588755-Asharas@users.noreply.gitlab.com>
Sun, 10 Jul 2022 20:03:11 +0000 (22:03 +0200)
committerJérôme Jutteau <jerome@jutteau.fr>
Mon, 11 Jul 2022 14:10:28 +0000 (14:10 +0000)
Variable in help is described as JIRAFEAU_UPLOAD_PASSWD but both tested
and assigned variables have the wrong name.

script.php

index de105ba1a5ef1fac7f7aa7e52405330f7c0b81f4..0d4aeab43d59e7ad8cf8f74de6c1fc7e8c9b5942 100644 (file)
@@ -260,8 +260,8 @@ if [ -n "$JIRAFEAU_ONE_TIME" ]; then
     one_time='1'
 fi
 
     one_time='1'
 fi
 
-if [ -n "$UPLOAD_PASSWD" ]; then
-    upload_password="$JIRAFEAU_UPLOAD_PASSWORD"
+if [ -n "$JIRAFEAU_UPLOAD_PASSWD" ]; then
+    upload_password="$JIRAFEAU_UPLOAD_PASSWD"
 fi
 
 if [ -z "$curl" ]; then
 fi
 
 if [ -z "$curl" ]; then

patrick-canterino.de