From 6bf630438a661c2ada87e4cf13b24ff1e9eef2dd Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 12 Aug 2018 15:52:01 +0000 Subject: ptyc_main(): restore support of --cat with no --exec. --- src/driver/ptyc_amain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3