Allow Buildroot manager to run under sh

This commit is contained in:
Yellowcooln
2026-04-22 22:30:18 -04:00
parent 34fe07d7b0
commit 4d6993c9e1
+1 -1
View File
@@ -49,7 +49,7 @@ is_buildroot() {
}
ensure_root() {
[ "${EUID}" -eq 0 ] || fail "This command must be run as root."
[ "$(id -u 2>/dev/null || echo 1)" -eq 0 ] || fail "This command must be run as root."
}
group_exists() {