After
8a1326581d9b066377f8d9f2d58e1bdfd8b645d0,
we always check whether there're mounts under
/boot/ or /efi/ first. Let's relax the check
for fstab_has_node hence, since on initrd-less
systems it might produce wrong results.
/* Check if there's an existing fstab entry for ESP. If so, we just skip the gpt-auto logic. */
r = fstab_has_node(p->node);
if (r < 0)
- return log_error_errno(r,
- "Failed to check if fstab entry for device '%s' exists: %m", p->node);
+ log_warning_errno(r, "Failed to check if fstab entry for device '%s' exists, ignoring: %m",
+ p->node);
if (r > 0)
return 0;