X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Frun%2Frun.c;h=2910fcb2725ec6537f5f9645ccdaae0ad52dcbcf;hb=0c697941389b7379c4471bc0a067ede02814bc57;hp=6a271eed75832d7a5fe3c3917bd8dce3ccbe3c56;hpb=4d09e1c8bab1d684172b1f277f3213825b30d2d9;p=thirdparty%2Fsystemd.git diff --git a/src/run/run.c b/src/run/run.c index 6a271eed758..2910fcb2725 100644 --- a/src/run/run.c +++ b/src/run/run.c @@ -1,9 +1,4 @@ /* SPDX-License-Identifier: LGPL-2.1+ */ -/*** - This file is part of systemd. - - Copyright 2013 Lennart Poettering -***/ #include #include @@ -917,7 +912,7 @@ static int start_transient_service( if (arg_stdio == ARG_STDIO_PTY) { if (arg_transport == BUS_TRANSPORT_LOCAL) { - master = posix_openpt(O_RDWR|O_NOCTTY|O_CLOEXEC|O_NDELAY); + master = posix_openpt(O_RDWR|O_NOCTTY|O_CLOEXEC|O_NONBLOCK); if (master < 0) return log_error_errno(errno, "Failed to acquire pseudo tty: %m");