This commit is contained in:
pvincent
2026-08-18 12:40:24 +04:00
parent 1eb8459950
commit b7804b6a1a
+1 -1
View File
@@ -8,7 +8,7 @@ function assert_root {
}
function assert_container {
cat /proc/self/cgroup | grep -qE'session-c[0-9]+\.scope'
[[ $(systemd-detect-virt -c) == lxc ]]
}
function assert_system_mode {