chiark / gitweb /
path-util: Change path_is_mount_point() symlink arg from bool to flags
[elogind.git] / src / shared / machine-pool.c
index 9920d150abbada3774956311f8a3aa90b6098de2..447983fb1b2c847be5aad9adbac5563b9246d290 100644 (file)
@@ -198,7 +198,7 @@ int setup_machine_directory(uint64_t size, sd_bus_error *error) {
                 return 0;
         }
 
-        if (path_is_mount_point("/var/lib/machines", true) > 0 ||
+        if (path_is_mount_point("/var/lib/machines", AT_SYMLINK_FOLLOW) > 0 ||
             dir_is_empty("/var/lib/machines") == 0)
                 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "/var/lib/machines is not a btrfs file system. Operation is not supported on legacy file systems.");