chiark / gitweb /
basic/path-util: allow flags for path_equal_or_files_same
[elogind.git] / src / basic / virt.c
index 9ea18e63f466a1251eb647f4cdc1bc32e4c85274..0060bb84602dc4c6aa98b53df4e41626ad3418d7 100644 (file)
@@ -579,7 +579,7 @@ int running_in_chroot(void) {
                 return 0;
 #endif // 0
 
-        ret = files_same("/proc/1/root", "/");
+        ret = files_same("/proc/1/root", "/", 0);
         if (ret < 0)
                 return ret;