From ec9f68cad531899d14ac48e06cc3a7a7aa84a7cc Mon Sep 17 00:00:00 2001 From: Bruno Sutic Date: Wed, 24 Sep 2014 14:30:05 +0200 Subject: [PATCH] Quote arguments in `tmux display-message` --- scripts/tmux_spinner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tmux_spinner.sh b/scripts/tmux_spinner.sh index 354c3bb..9b1b979 100755 --- a/scripts/tmux_spinner.sh +++ b/scripts/tmux_spinner.sh @@ -16,7 +16,7 @@ MESSAGE="$1" END_MESSAGE="$2" SPIN='-\|/' -trap "tmux display-message $END_MESSAGE; exit" SIGINT SIGTERM +trap "tmux display-message '$END_MESSAGE'; exit" SIGINT SIGTERM main() { local i=0