fstab-generator: let's use path_equal() for comparing paths
This commit is contained in:
parent
d946fb596f
commit
e34e72fb18
|
@ -502,7 +502,7 @@ static int add_sysroot_mount(void) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (streq(arg_root_what, "/dev/nfs")) {
|
||||
if (path_equal(arg_root_what, "/dev/nfs")) {
|
||||
/* This is handled by the kernel or the initrd */
|
||||
log_debug("Skipping root directory handling, as /dev/nfs was requested.");
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue