summaryrefslogtreecommitdiffstats
path: root/src/basic/virt.h
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-26 13:37:31 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-29 15:36:26 +0200
commit342bed02084c4396dd2f1054bd559bfb2699cfcb (patch)
tree1c01d5a7c833878b2ba4a3f9d72ea00c3a091d62 /src/basic/virt.h
parentMerge pull request #12394 from poettering/oncalendar-tweak (diff)
downloadsystemd-342bed02084c4396dd2f1054bd559bfb2699cfcb.tar.xz
systemd-342bed02084c4396dd2f1054bd559bfb2699cfcb.zip
basic/virt: try the /proc/1/sched hack also for PID1
If a container manager does not set $container, we could end up in a strange situation when detect-virt returns container-other when run as non-pid-1 and none when run as pid-1.
Diffstat (limited to 'src/basic/virt.h')
0 files changed, 0 insertions, 0 deletions