mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Remove esc check
This commit is contained in:
parent
1f3aac8142
commit
f908739ae1
@ -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
|
Loading…
Reference in New Issue
Block a user