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