fstab-generator: let's use path_equal() for comparing paths

This commit is contained in:
Lennart Poettering 2016-06-24 20:59:51 +02:00
parent d946fb596f
commit e34e72fb18
1 changed files with 1 additions and 1 deletions

View File

@ -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;