mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-05 09:22:29 +02:00
Allow Buildroot manager to run under sh
This commit is contained in:
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user