mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-26 14:19:51 +00:00
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
@ -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…
x
Reference in New Issue
Block a user