mirror of
https://github.com/systemd/systemd.git
synced 2025-01-26 14:04:03 +03:00
nspawn: short reads do not set errno, hence don't try to print it
This commit is contained in:
parent
4610de5022
commit
76d448820e
@ -3377,7 +3377,7 @@ int main(int argc, char *argv[]) {
|
||||
goto finish;
|
||||
}
|
||||
if (l != sizeof(pid)) {
|
||||
log_error("Short read while reading inner child PID: %m");
|
||||
log_error("Short read while reading inner child PID.");
|
||||
r = EIO;
|
||||
goto finish;
|
||||
}
|
||||
@ -3397,7 +3397,7 @@ int main(int argc, char *argv[]) {
|
||||
goto finish;
|
||||
}
|
||||
if (l != sizeof(arg_uid_shift)) {
|
||||
log_error("Short read while reading UID shift: %m");
|
||||
log_error("Short read while reading UID shift.");
|
||||
r = EIO;
|
||||
goto finish;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user