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
|
## Error Validation
|
||||||
function error_validate {
|
function error_validate {
|
||||||
if [ "$?" != "0" ]; then
|
if [ "$?" != "0" ]
|
||||||
|
then
|
||||||
echo_fail
|
echo_fail
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
@ -1222,12 +1223,6 @@ function task_configure {
|
|||||||
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
|
MESSAGE="${MESSAGE}: ${TASKTYPE} Requested"
|
||||||
echo_good
|
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} ]
|
if [ -f $HOME/${LOCAL_FOLDR}/${CONFIG_FILE} ]
|
||||||
then
|
then
|
||||||
config_delete
|
config_delete
|
||||||
|
Loading…
Reference in New Issue
Block a user