From 2256d9fb4a82986400959b0b712f4897f9b27682 Mon Sep 17 00:00:00 2001 From: Nils <32552517+byReqz@users.noreply.github.com> Date: Fri, 15 Jan 2021 15:49:59 +0000 Subject: [PATCH] reversing the last commit, function not working properly --- conn.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/conn.sh b/conn.sh index 545f885..f58d84e 100644 --- a/conn.sh +++ b/conn.sh @@ -2,13 +2,6 @@ if [[ -z "$1" ]]; then echo "Usage: conn [ip] (y/n)" exit -elif [[ "$2" != p ]]; then - echo "multi-ip mode detected, only checking availability" - echo "" - echo "-------------------Availability----------------------" - fping "$@" - echo "-----------------------------------------------------" - exit elif [[ -n "$1" ]]; then echo "checking connection status for $1" echo "-------------------Availability----------------------"