mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
fileio: fix error propagation
This commit is contained in:
committed by
Yu Watanabe
parent
28fe6a8072
commit
2c032478fc
@@ -809,7 +809,7 @@ int read_full_file_full(
|
||||
return r;
|
||||
|
||||
if (bind(sk, &bsa.sa, r) < 0)
|
||||
return r;
|
||||
return -errno;
|
||||
}
|
||||
|
||||
if (connect(sk, &sa.sa, SOCKADDR_UN_LEN(sa.un)) < 0)
|
||||
|
||||
Reference in New Issue
Block a user