summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/systemd.unit.xml1
-rw-r--r--src/util.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index ff199e43cb..d447c3a0a5 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -618,6 +618,7 @@
<varname>microsoft</varname>,
<varname>oracle</varname>,
<varname>xen</varname>,
+ <varname>pidns</varname>,
<varname>openvz</varname> to test
against a specific implementation. The
test may be negated by prepending an
diff --git a/src/util.c b/src/util.c
index c9c88927b0..1febd073d2 100644
--- a/src/util.c
+++ b/src/util.c
@@ -3991,7 +3991,7 @@ int detect_container(const char **id) {
fclose(f);
if (id)
- *id = "ns";
+ *id = "pidns";
return 1;
}