-
由 Daniel Xu 提交于
Set the exit trap only after argument parsing is done. This way argument parse failure or `-h` will not require sudo. Reasoning is that it's confusing that a help message would require root access. Signed-off-by: NDaniel Xu <dxu@dxuuu.xyz> Signed-off-by: NDaniel Borkmann <daniel@iogearbox.net> Acked-by: NDaniel Müller <deso@posteo.net> Link: https://lore.kernel.org/bpf/6a802aa37758e5a7e6aa5de294634f5518005e2b.1660064925.git.dxu@dxuuu.xyz
d020b236