aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/slave.c b/slave.c
index 72a465a8..29289f3a 100644
--- a/slave.c
+++ b/slave.c
@@ -196,7 +196,7 @@ slave_exec(int ptmx, char *argv[], int err_fd, bool login_shell,
goto err;
}
- {
+ if (tll_length(*notifications) > 0) {
int flags = fcntl(pts, F_GETFL);
if (flags < 0)
goto err;