Răsfoiți Sursa

fixed wrong else position

Fixed an 'else' that belonged to a wrong 'if block'. Introduced with 2799224afa8b75be71dde30e0a9d9e96c7e9fc51
Marvin 11 ani în urmă
părinte
comite
4f3fb109c1
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      functions/fn_start

+ 4 - 4
functions/fn_start

@@ -166,10 +166,10 @@ if [ "${tmuxwc}" -eq 0 ]; then
 				fn_scriptlog "http://gameservermanagers.com/issues"
 			fi
 		fi
-	else
-		fn_printok "${servername}"
-		fn_scriptlog "Started ${servername}"
 	fi
+else
+	fn_printok "${servername}"
+	fn_scriptlog "Started ${servername}"	
 fi
 #rm "${scriptlogdir}/.${servicename}-tmux-error.tmp"
 echo -en "\n"
@@ -179,4 +179,4 @@ if [ "${gamename}" == "Teamspeak 3" ]; then
 	fn_start_teamspeak3
 else
 	fn_start_tmux
-fi
+fi