From b9c511174a85903ff3d02b3c467a735c1b4868e7 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 1 Oct 2025 15:59:37 -0500 Subject: [PATCH] Remove leftover test from the prefix logic rewrite. --- toys/pending/sh.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/toys/pending/sh.c b/toys/pending/sh.c index 137edd7c..bebe7bd5 100644 --- a/toys/pending/sh.c +++ b/toys/pending/sh.c @@ -2639,11 +2639,7 @@ static int expand_redir(struct sh_process *pp, struct sh_arg *arg, int skip) for (j = skip; jc; j++) { int saveclose = 0, bad = 0; - if (!strcmp(s = arg->v[j], "!")) { - pp->not ^= 1; - - continue; - } + s = arg->v[j]; // Handle <() >() redirectionss if ((*s == '<' || *s == '>') && s[1] == '(') { -- 2.39.5