]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/run/run.c
tree-wide: remove Lennart's copyright lines
[thirdparty/systemd.git] / src / run / run.c
index 6a271eed75832d7a5fe3c3917bd8dce3ccbe3c56..2910fcb2725ec6537f5f9645ccdaae0ad52dcbcf 100644 (file)
@@ -1,9 +1,4 @@
 /* SPDX-License-Identifier: LGPL-2.1+ */
-/***
-  This file is part of systemd.
-
-  Copyright 2013 Lennart Poettering
-***/
 
 #include <getopt.h>
 #include <stdio.h>
@@ -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");