Explorar el Código

corrected if statement

Daniel Gibbs hace 10 años
padre
commit
d02c14d228
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      functions/fix_arma3.sh

+ 1 - 1
functions/fix_arma3.sh

@@ -25,7 +25,7 @@ fn_msg_end(){
 }
 }
 
 
 # Fixes: server not always creating steam_appid.txt file.
 # Fixes: server not always creating steam_appid.txt file.
-if [ -d "${rootdir}/.local/share/Arma\ 3" ]; then
+if [ ! -d "${rootdir}/.local/share/Arma\ 3" ]; then
 	local fixname="20150 Segmentation fault (core dumped)"
 	local fixname="20150 Segmentation fault (core dumped)"
 	fn_msg_start
 	fn_msg_start
 	mkdir -p "${rootdir}/.local/share/Arma\ 3"
 	mkdir -p "${rootdir}/.local/share/Arma\ 3"