From f908739ae1f8a974cf1310b5ada316fd9d31b66d Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Thu, 11 Jun 2020 21:08:13 -0500 Subject: [PATCH] Remove esc check --- gravity-sync.sh | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index be55400..36b22da 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -846,7 +846,8 @@ function detect_ssh { ## Error Validation function error_validate { - if [ "$?" != "0" ]; then + if [ "$?" != "0" ] + then echo_fail exit 1 else @@ -1221,12 +1222,6 @@ function task_configure { TASKTYPE='CONFIGURE' MESSAGE="${MESSAGE}: ${TASKTYPE} Requested" echo_good - - MESSAGE="Escalation Ability Check" - echo_stat - - timeout 2 sudo cat VERSION >/dev/null 2>&1 - error_validate if [ -f $HOME/${LOCAL_FOLDR}/${CONFIG_FILE} ] then @@ -1486,4 +1481,4 @@ case $# in *) task_invalid ;; -esac +esac \ No newline at end of file