summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/ptyc_amain.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/driver/ptyc_amain.c b/src/driver/ptyc_amain.c
index f94b236..ecdc651 100644
--- a/src/driver/ptyc_amain.c
+++ b/src/driver/ptyc_amain.c
@@ -73,6 +73,9 @@ int ptyc_main(int argc, char ** argv, char ** envp)
if (ptyc_alloc_pty(dctx))
return ptyc_exit(dctx,2);
+ if (ptyc_spawn(dctx))
+ return ptyc_exit(dctx,2);
+
if (ptyc_alloc_console(dctx))
return ptyc_exit(dctx,2);