Message ID | 20190225044920.k2klmeddvn2ybc3b@gondor.apana.org.au (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Herbert Xu |
Headers | show |
Series | options: Do not set commandname in procargs | expand |
Your patch seems even better! Thanks.
diff --git a/src/options.c b/src/options.c index 6f381e6..a46c23b 100644 --- a/src/options.c +++ b/src/options.c @@ -159,7 +159,6 @@ procargs(int argc, char **argv) setinputfile(*xargv, 0); setarg0: arg0 = *xargv++; - commandname = arg0; } shellparam.p = xargv;