Fix if statements
This commit is contained in:
@@ -33,9 +33,11 @@ function print_help()
|
||||
}
|
||||
|
||||
if [ -z "$1" ]
|
||||
then
|
||||
echo "use the -h flag to get help on how to use this script"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ "$1" = "-h" ]
|
||||
then
|
||||
print_help
|
||||
|
||||
Reference in New Issue
Block a user