diff options
author | Phil Sutter <phil@nwl.cc> | 2023-08-01 16:56:42 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2023-08-01 17:16:37 +0200 |
commit | 9f98550d58a49fc95d529ebdc0173579d957b425 (patch) | |
tree | ea2075aa1bd03b0c279c5dba103914e7d1ce7ed5 /extensions/libipt_icmp.c | |
parent | 4d9453233538200e9663c6bd0c2df09e1671b5f4 (diff) |
iptables-apply: Eliminate shellcheck warnings
Actual warnings were only about use of '-a' in bracket expressions
(replace by '&&' pipeline) and the immediate evaluation of the variable
in trap command.
The remaining changes silence info-level messages: missing quoting
around variables, pointless '$' in arithmetic expressions, backticks
instead of $(...), missing '-r' parameter when calling read and an
awkward negated '-z' check.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'extensions/libipt_icmp.c')
0 files changed, 0 insertions, 0 deletions