stdio-bridge: make the error more straightforward

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2022-01-17 11:59:08 +01:00
parent b7bb58ef70
commit a80f17844e
+1 -1
View File
@@ -125,7 +125,7 @@ static int run(int argc, char *argv[]) {
in_fd = SD_LISTEN_FDS_START;
out_fd = SD_LISTEN_FDS_START;
} else
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "Illegal number of file descriptors passed.");
return log_error_errno(SYNTHETIC_ERRNO(EINVAL), "More than one file descriptor was passed.");
is_unix =
sd_is_socket(in_fd, AF_UNIX, 0, 0) > 0 &&