From 5a8e6619e9116216cafa7f5b20161a46598753e0 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Fri, 4 Jul 2014 01:07:40 +0200 Subject: [PATCH] Fixed start.sh script --- start.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/start.sh b/start.sh index 53ca4a3f8..909eb6858 100755 --- a/start.sh +++ b/start.sh @@ -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