1
0
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:
Lennart Poettering 2015-09-08 01:22:26 +02:00
parent 4610de5022
commit 76d448820e

View File

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