Pārlūkot izejas kodu

Quotation escaping fixes

Scarsz 11 gadi atpakaļ
vecāks
revīzija
66185890e4
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      functions/fn_start

+ 2 - 2
functions/fn_start

@@ -141,8 +141,8 @@ if [ "${tmuxwc}" -eq 0 ]; then
 		echo ""
 		echo "Command"
 		echo "================================="
-		echo "tmux new-session -d -s "${servicename}" "${executable} ${parms}""
-		echo "tmux new-session -d -s "${servicename}" "${executable} ${parms}"" >> "${scriptlog}"
+		echo "tmux new-session -d -s \"${servicename}\" \"${executable} ${parms}\""
+		echo "tmux new-session -d -s \"${servicename}\" \"${executable} ${parms}\"" >> "${scriptlog}"
 		echo ""
 		echo "Error"
 		echo "================================="