Daniel Gibbs %!s(int64=6) %!d(string=hai) anos
pai
achega
370e394fae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lgsm/functions/command_ts3_server_pass.sh

+ 1 - 1
lgsm/functions/command_ts3_server_pass.sh

@@ -40,7 +40,7 @@ if [ "${status}" != "0" ]; then
 	exitbypass="1"
 	command_stop.sh
 	fn_serveradmin_password_set
-	parms="serveradmin_password="${newpassword}" inifile="${servercfgfullpath}" > /dev/null 2>&1"
+	parms="serveradmin_password=\"${newpassword}\" inifile=\"${servercfgfullpath}\" > /dev/null 2>&1"
 	ts3serverpass="0"
 	command_restart.sh
 else