style(test): silent delete old session

This commit is contained in:
Raphael 2025-05-12 15:52:17 +02:00
parent b7de84cf3c
commit f4a74eb3c4

View file

@ -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) \