install2
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ function assert_root {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function assert_container {
|
function assert_container {
|
||||||
cat /proc/self/cgroup | grep -qE'session-c[0-9]+\.scope'
|
[[ $(systemd-detect-virt -c) == lxc ]]
|
||||||
}
|
}
|
||||||
|
|
||||||
function assert_system_mode {
|
function assert_system_mode {
|
||||||
|
|||||||
Reference in New Issue
Block a user