4
0
Daniel Gibbs 11 жил өмнө
parent
commit
308c9accdb

+ 1 - 1
functions/fn_csgofix

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

+ 1 - 1
functions/fn_details

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