commit b78930e4508f907d24dc6211ceee21934e0ebbfd
parent bc3fc0ecc873560a1b73b09d300b0b8e8b45e005
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 25 Oct 2018 10:10:37 +0200
Fix error in has-session
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/links/bin/tmux-utility.sh b/links/bin/tmux-utility.sh
@@ -2,7 +2,7 @@
#SESSION=utility
echo "starting $SESSION tmux session"
-if ! "tmux has-session -t $SESSION"
+if ! tmux has-session -t "$SESSION"
then
# Start services
mpd ~/.mpd/mpd.conf