verify both auth & pwd before adding it

This commit is contained in:
Peter Hedenskog 2012-07-05 19:39:40 +02:00
parent 7710478ccb
commit 749b5d0e33
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ URL="$1"
USER=""
PASSWORD=""
if ["$3" != ""]
if [[ "$3" != "" && "$4" != "" ]]
then
USER="--http-user=$3"
PASSWORD="--http-password=$4"