fstab-generator: minor simplification

This commit is contained in:
Lennart Poettering 2016-06-24 21:22:05 +02:00
parent f113f8e382
commit 592288a2a7
1 changed files with 1 additions and 2 deletions

View File

@ -417,8 +417,7 @@ static int parse_fstab(bool initrd) {
if (errno == ENOENT)
return 0;
log_error_errno(errno, "Failed to open %s: %m", fstab_path);
return -errno;
return log_error_errno(errno, "Failed to open %s: %m", fstab_path);
}
while ((me = getmntent(f))) {