Update core/tabs/common-script.sh

Co-authored-by: Adam Perkowski <adas1per@protonmail.com>
This commit is contained in:
JEEVITHA KANNAN K S 2024-10-14 20:04:09 +05:30 committed by GitHub
parent f6314414fe
commit ef59216d12
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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