Fix if statements

This commit is contained in:
Sem
2026-07-20 13:54:13 +02:00
parent 7251f9d092
commit 5b0250083f

View File

@@ -33,13 +33,15 @@ function print_help()
} }
if [ -z "$1" ] if [ -z "$1" ]
then
echo "use the -h flag to get help on how to use this script" echo "use the -h flag to get help on how to use this script"
exit 0 exit 0
fi fi
if [ "$1" = "-h" ] if [ "$1" = "-h" ]
then then
print_help print_help
exit 0 exit 0
fi fi
if [ -z "$2" ] if [ -z "$2" ]
then then