fix string comparison again
This commit is contained in:
@@ -14,15 +14,15 @@ fi
|
||||
# source vars
|
||||
source vars
|
||||
|
||||
if [ $user = "" ] ; then
|
||||
if [ $user == "" ] ; then
|
||||
echo -e "User missing from vars."
|
||||
exit 1
|
||||
fi
|
||||
if [ $projectname = "" ] ; then
|
||||
if [ $projectname == "" ] ; then
|
||||
echo -e "Project Name missing from vars."
|
||||
exit 1
|
||||
fi
|
||||
if [ $hostname = "" ] ; then
|
||||
if [ $hostname == "" ] ; then
|
||||
echo -e "Hostname missing from vars."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user