Skip to content

Commit ebc98a4

Browse files
author
Kristan Kenney
committed
Abort compilation if invalid flags specified
1 parent 97684f1 commit ebc98a4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hst_autocompile.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ if [ ! "$1" = "--all" ] || [ ! "$1" = "--hestia" ] || [ ! "$1" = "--nginx" ] ||
6868
echo "--php"
6969
echo ""
7070
echo "You may also specify --install to install the packages after compilation."
71+
exit 1
7172
fi
7273

7374
# If branch was specified at run-time, convert its value to the branch variable

0 commit comments

Comments
 (0)