mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-19 09:26:45 +00:00
Fixed start.sh script
This commit is contained in:
parent
6b45c16a38
commit
5a8e6619e9
5
start.sh
5
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user