summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index f69c890..b8e9a1b 100644
--- a/eval.c
+++ b/eval.c
@@ -651,6 +651,10 @@ int eval_cmdline(const struct cmdline *cmdline) {
return 0;
}
+ if (cmdline->optlevel >= 3 && cmdline->expr->eval == eval_false) {
+ return 0;
+ }
+
int nopenfd = infer_fdlimit();
struct callback_args args = {