style(test): silent delete old session
This commit is contained in:
parent
b7de84cf3c
commit
f4a74eb3c4
1 changed files with 0 additions and 1 deletions
1
Makefile
1
Makefile
|
|
@ -87,7 +87,6 @@ SESSION = test-irc
|
||||||
test: debug
|
test: debug
|
||||||
@printf '$(GREY) now running with\n\t- Port:\t\t$(GREEN)4243$(GREY)\n\t- Password:\t$(GREEN)irc$(END)\n'
|
@printf '$(GREY) now running with\n\t- Port:\t\t$(GREEN)4243$(GREY)\n\t- Password:\t$(GREEN)irc$(END)\n'
|
||||||
@if tmux has-session -t $(SESSION) 2>/dev/null; then \
|
@if tmux has-session -t $(SESSION) 2>/dev/null; then \
|
||||||
echo "→ Killing existing session '$(SESSION)'…"; \
|
|
||||||
tmux kill-session -t $(SESSION); \
|
tmux kill-session -t $(SESSION); \
|
||||||
fi
|
fi
|
||||||
@tmux new-session -d -s $(SESSION) \
|
@tmux new-session -d -s $(SESSION) \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue