mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-09 13:43:46 -05:00
alerts to debug
This commit is contained in:
@@ -254,11 +254,11 @@ _rootAvailable_() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z ${superuser:-} ]]; then
|
if [[ -z ${superuser:-} ]]; then
|
||||||
notice 'Unable to acquire superuser credentials.'
|
debug 'Unable to acquire superuser credentials.'
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
info 'Successfully acquired superuser credentials.'
|
debug 'Successfully acquired superuser credentials.'
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user