Fix shell script syntax errors

Fixes #6956
This commit is contained in:
Oliver Brakmann
2014-11-15 10:43:29 +01:00
parent 5bf3d9879c
commit 1db0d55aa4
3 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ fi
cd "$RESOURCES" && FONTCONFIG_PATH="." $MONO_BIN --debug OpenRA.Game.exe Graphics.Renderer=Sdl2
# Display an error dialog on game crash
if [ $? != 0 && $? != 1 ]
if [ $? != 0 -a $? != 1 ]
then
osascript \
-e "set logsPath to ((path to application support folder from user domain) as text) & \"OpenRA:Logs:\"" \