Fixed start.sh script

This commit is contained in:
Shoghi Cervantes 2014-07-04 01:07:40 +02:00
parent 6b45c16a38
commit 5a8e6619e9

View File

@ -4,7 +4,7 @@ cd "$DIR"
DO_LOOP="no"
while getopts "p:f:l" OPTION; do
while getopts "p:f:l" OPTION 2> /dev/null; do
case $OPTION in
p)
PHP_BINARY="$OPTARG"
@ -16,8 +16,7 @@ while getopts "p:f:l" OPTION; do
DO_LOOP="yes"
;;
\?)
echo "Invalid option: -$OPTION$OPTARG" >&2
exit 1
break
;;
esac
done