Explorar o código

corrected if best practice

Daniel Gibbs %!s(int64=10) %!d(string=hai) anos
pai
achega
0a5c682d71
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      functions/command_install.sh

+ 1 - 1
functions/command_install.sh

@@ -19,7 +19,7 @@ elif [ "${gamename}" == "Unreal Tournament 99" ]; then
 	install_server_files.sh
 elif [ "${gamename}" == "Teamspeak 3" ]; then
 	install_ts3.sh
-elif [ ! -z "${appid}" ]; then
+elif [ -n "${appid}" ]; then
 	install_steamcmd.sh
 	install_server_files.sh
 fi