verify both auth & pwd before adding it
This commit is contained in:
parent
7710478ccb
commit
749b5d0e33
|
|
@ -40,7 +40,7 @@ URL="$1"
|
|||
USER=""
|
||||
PASSWORD=""
|
||||
|
||||
if ["$3" != ""]
|
||||
if [[ "$3" != "" && "$4" != "" ]]
|
||||
then
|
||||
USER="--http-user=$3"
|
||||
PASSWORD="--http-password=$4"
|
||||
|
|
|
|||
Loading…
Reference in New Issue