summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-03-18 04:49:53 +0100
committerLennart Poettering <lennart@poettering.net>2011-03-18 04:53:31 +0100
commit28cf382a0afd10d0e2a71d152f0df4909e90d159 (patch)
treedc4ebc0aa06f9616da1b4eb1fb90eee2cf97a761
parente2130f189a543c859b569985d8670132df40673e (diff)
man: document pidns containers
-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;
}