summaryrefslogtreecommitdiff
path: root/src/stdio-bridge
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-17 11:44:44 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2022-01-17 11:59:08 +0100
commita80f17844ef1d7c622d17cb4b41eb337d438fffb (patch)
tree3d73868f5ffb78094f6efc91f824b69fe279dbb4 /src/stdio-bridge
parentb7bb58ef70b0c876941a1c31ed4e2f5f1dc5ed0e (diff)
downloadsystemd-a80f17844ef1d7c622d17cb4b41eb337d438fffb.tar.gz
stdio-bridge: make the error more straightforward
Diffstat (limited to 'src/stdio-bridge')
-rw-r--r--src/stdio-bridge/stdio-bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio-bridge/stdio-bridge.c b/src/stdio-bridge/stdio-bridge.c
index 5d4ffa5e32..1a2099a8d1 100644
--- a/src/stdio-bridge/stdio-bridge.c
+++ b/src/stdio-bridge/stdio-bridge.c
@@ -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 &&