Colorful and fun elimination notification #3

Merged
ben merged 1 commits from tomasino/SLBR:master into master 2019-03-22 15:37:54 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ fi
suicidePostCommand() { suicidePostCommand() {
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
ssh -o "StrictHostKeyChecking no" testuser@10.123.168.1 & ssh -o "StrictHostKeyChecking no" testuser@10.123.168.1 &
echo "====YOU HAVE BEEN ELIMINATED====" echo "$(tput setaf 3)====$(tput setaf 1)$(tput bold)YOU HAVE BEEN ELIMINATED$(tput sgr0)$(tput setaf 3)====$(tput sgr0)"
sleep 2 sleep 2
fi fi
} }