On Thu, 02.10.14 09:57, Michal Sekletar (msekl...@redhat.com) wrote: Looks good, please commit this one.
> --- > src/shared/virt.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/src/shared/virt.c b/src/shared/virt.c > index b436895..f9c4e67 100644 > --- a/src/shared/virt.c > +++ b/src/shared/virt.c > @@ -310,6 +310,8 @@ int detect_container(const char **id) { > _id = "lxc-libvirt"; > else if (streq(e, "systemd-nspawn")) > _id = "systemd-nspawn"; > + else if (streq(e, "docker")) > + _id = "docker"; > else > _id = "other"; > > -- > 2.0.1 > > _______________________________________________ > systemd-devel mailing list > systemd-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/systemd-devel > Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel