--- src/execline/getpid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/execline/getpid.c b/src/execline/getpid.c index 7fb39ac..dd9623a 100644 --- a/src/execline/getpid.c +++ b/src/execline/getpid.c _at_@ -15,7 +15,7 @@ int main (int argc, char const *const *argv, char const *const *envp) PROG = "getpid" ; if (argc < 3) strerr_dieusage(100, USAGE) ; len = strlen(argv[1]) ; - if (!memchr(argv[1], '=', len)) + if (memchr(argv[1], '=', len)) strerr_dief2x(100, "invalid variable name: ", argv[1]) ; { size_t i = len+1 ; -- 2.12.2Received on Wed Apr 12 2017 - 21:34:26 UTC
This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC