mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Update core/tabs/common-script.sh
Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
parent
f6314414fe
commit
ef59216d12
|
@ -51,9 +51,8 @@ checkAURHelper() {
|
|||
}
|
||||
|
||||
checkEscalationTool() {
|
||||
## Check for escalation tools.
|
||||
if [ "$(id -u)" -eq 0 ]; then
|
||||
printf "%b\n" "${CYAN}Running as root, no need for escalation tool.${RC}"
|
||||
printf "%b\n" "${CYAN}Running as root. Skipping escalation tool check.${RC}"
|
||||
ESCALATION_TOOL_CHECKED=true
|
||||
return 0
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue
Block a user