mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-20 09:56:33 +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"
|
DO_LOOP="no"
|
||||||
|
|
||||||
while getopts "p:f:l" OPTION; do
|
while getopts "p:f:l" OPTION 2> /dev/null; do
|
||||||
case $OPTION in
|
case $OPTION in
|
||||||
p)
|
p)
|
||||||
PHP_BINARY="$OPTARG"
|
PHP_BINARY="$OPTARG"
|
||||||
@ -16,8 +16,7 @@ while getopts "p:f:l" OPTION; do
|
|||||||
DO_LOOP="yes"
|
DO_LOOP="yes"
|
||||||
;;
|
;;
|
||||||
\?)
|
\?)
|
||||||
echo "Invalid option: -$OPTION$OPTARG" >&2
|
break
|
||||||
exit 1
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user