keeping env vars

This commit is contained in:
Kristian Haugene
2015-05-10 18:51:52 +02:00
parent faa3972ab4
commit d129497ca5
2 changed files with 4 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ then
fi
# add PIA user/pass
if [ -z "$PIA_USERNAME" ] || [ -z "$PIA_PASSWORD" ] ; then
if [ "${PIA_USERNAME}" = "**None**" ] || [ "${PIA_PASSWORD}" = "**None**" ] ; then
echo "PIA credentials not set. Exiting."
exit 1
else