fileio: fix error propagation

This commit is contained in:
Lennart Poettering
2022-05-10 16:23:05 +02:00
committed by Yu Watanabe
parent 28fe6a8072
commit 2c032478fc

View File

@@ -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)