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