Fixed #1614, possible solution for #1678

This commit is contained in:
Shoghi Cervantes
2014-07-15 13:17:29 +02:00
parent 6e77901453
commit bd2cb4b851
5 changed files with 7 additions and 6 deletions

View File

@ -48,9 +48,9 @@ LOOPS=0
set +e
while [ "$LOOPS" -eq 0 ] || [ "$DO_LOOP" == "yes" ]; do
if [ "$DO_LOOP" == "yes" ]; then
"$PHP_BINARY" "$POCKETMINE_FILE" "$@"
"$PHP_BINARY" "$POCKETMINE_FILE" $@
else
exec "$PHP_BINARY" "$POCKETMINE_FILE" "$@"
exec "$PHP_BINARY" "$POCKETMINE_FILE" $@
fi
((LOOPS++))
done