From: Asharas <2588755-Asharas@users.noreply.gitlab.com> Date: Sun, 10 Jul 2022 20:03:11 +0000 (+0200) Subject: Fix JIRAFEAU_UPLOAD_PASSWD use. X-Git-Tag: 4.5.0~3 X-Git-Url: https://git.p6c8.net/jirafeau.git/commitdiff_plain/bb49c0bb63facbc4771e507423e01a35ced17615?ds=sidebyside;hp=--cc Fix JIRAFEAU_UPLOAD_PASSWD use. Variable in help is described as JIRAFEAU_UPLOAD_PASSWD but both tested and assigned variables have the wrong name. --- bb49c0bb63facbc4771e507423e01a35ced17615 diff --git a/script.php b/script.php index de105ba..0d4aeab 100644 --- a/script.php +++ b/script.php @@ -260,8 +260,8 @@ if [ -n "$JIRAFEAU_ONE_TIME" ]; then 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