summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
b259018)
https://bugzilla.redhat.com/show_bug.cgi?id=
1379852
int running_in_chroot(void) {
int ret;
int running_in_chroot(void) {
int ret;
+ if (getenv_bool("SYSTEMD_IGNORE_CHROOT") > 0)
+ return 0;
+
ret = files_same("/proc/1/root", "/");
if (ret < 0)
return ret;
ret = files_same("/proc/1/root", "/");
if (ret < 0)
return ret;