diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2022-05-20 14:35:59 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2022-05-20 14:35:59 +0000 |
commit | db5bf6b28e46da0305d13383201e3dfbf2e80178 (patch) | |
tree | c56ab55694c4adf1884335a58ecbe955cae0469c /src | |
parent | 9aa0c8c2f34b42e671d6418bd2cc95c79d3b7d54 (diff) | |
download | execline-db5bf6b28e46da0305d13383201e3dfbf2e80178.tar.xz |
bugfix: getpid didn't read -P|-p
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/execline/getpid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/execline/getpid.c b/src/execline/getpid.c index 058fe1b..be9b6b8 100644 --- a/src/execline/getpid.c +++ b/src/execline/getpid.c @@ -22,7 +22,7 @@ int main (int argc, char const *const *argv) subgetopt l = SUBGETOPT_ZERO ; for (;;) { - int opt = subgetopt_r(argc, argv, "Ee", &l) ; + int opt = subgetopt_r(argc, argv, "EePp", &l) ; if (opt == -1) break ; switch (opt) { |