send_server_command: Fix issues with screen stuff command not working
At least on baldras' version of screen, the stuff command argument here absolutely needs to be wrapped in single or double quotes to work. I actually fixed this months ago but forgot to commit.
This commit is contained in:
parent
1a1ccea4cb
commit
912456bf29
1 changed files with 1 additions and 1 deletions
|
@ -22,5 +22,5 @@ case "$1" in
|
|||
restart*)
|
||||
# delay for a bit to make sure we get the right log file since log rotation is also delayed
|
||||
sleep 10
|
||||
screen -S wesnoth-mp-servers -X eval "select lobby-echo" "stuff /wl-old $SERVER\012" ;;
|
||||
screen -S wesnoth-mp-servers -X eval "select lobby-echo" "stuff \"/wl-old $SERVER\012\"" ;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue