mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-09 09:57:26 +03:00
fstab-generator: minor simplification
This commit is contained in:
parent
f113f8e382
commit
592288a2a7
@ -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))) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user