diff --git a/src/cmd/rc/code.c b/src/cmd/rc/code.c index 208476ae3..612a74454 100644 --- a/src/cmd/rc/code.c +++ b/src/cmd/rc/code.c @@ -162,8 +162,10 @@ outcode(tree *t, int eflag) outcode(c0, eflag); break; case BANG: - outcode(c0, eflag); + outcode(c0, 0); emitf(Xbang); + if(eflag) + emitf(Xeflag); break; case PCMD: case BRACE: