diff --git a/misc/install.func b/misc/install.func index dd71100c5..b8a09a8b8 100644 --- a/misc/install.func +++ b/misc/install.func @@ -83,7 +83,7 @@ setting_up_container() { # Fix Debian 13 LXC template bug where / is owned by nobody # Only attempt in privileged containers (unprivileged cannot chown /) if [[ "$(stat -c '%U' /)" != "root" ]]; then - chown root:root / 2>/dev/null || true + (chown root:root / 2>/dev/null) || true fi for ((i = RETRY_NUM; i > 0; i--)); do