소스 검색

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