Daniel Gibbs 11 лет назад
Родитель
Сommit
308c9accdb
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      functions/fn_csgofix
  2. 1 1
      functions/fn_details

+ 1 - 1
functions/fn_csgofix

@@ -11,7 +11,7 @@ if [ ! -f "${filesdir}/steam_appid.txt" ]; then
 	fn_printinfo "Applying 730 steam_appid.txt Fix."
 	sleep 1
 	echo -en "\n"
-	echo -n "730" >> ${filesdir}/steam_appid.txt
+	echo -n "730" >> "${filesdir}/steam_appid.txt"
 fi
 }
 

+ 1 - 1
functions/fn_details

@@ -28,7 +28,7 @@ echo "Ports the server is currently using."
 echo ""
 echo "DIRECTION DESCRIPTION             PORT"
 echo "INBOUND           Game/RCON port          ${port}"
-if [ ! -z ${sourcetvport} ]; then
+if [ ! -z "${sourcetvport}" ]; then
         echo "INBOUND           SourceTV port           ${sourcetvport}"
 fi
 echo "OUTBOUND  Client port             ${clientport}"