diff options
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/ptyc_amain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/ptyc_amain.c b/src/driver/ptyc_amain.c index 37c2657..37163c3 100644 --- a/src/driver/ptyc_amain.c +++ b/src/driver/ptyc_amain.c @@ -73,7 +73,7 @@ int ptyc_main(char ** argv, char ** envp) if ((ptyc_version(dctx)) < 0) return ptyc_exit(dctx,2); - if (!dctx->cctx->eargv) + if (!dctx->cctx->eargv && !dctx->units[0]) if (!(dctx->cctx->drvflags & PTYC_DRIVER_DBG_MODE)) return ptyc_exit(dctx,0); |