Преглед изворни кода

corrected if best practice

Daniel Gibbs пре 10 година
родитељ
комит
0a5c682d71
1 измењених фајлова са 1 додато и 1 уклоњено
  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