Skip to content

line 398: [: =: unary operator expected

Hi,

I just noticed that on boot, when shorewall-init calls

/usr/sbin/shorewall compile -c 1>/dev/null

that the following errors are shown:

/usr/share/shorewall/lib.cli-std: line 398: [: =: unary operator expected
/usr/bin/find: Expected a positive decimal integer argument to -maxdepth, but got -type

Seen with shorewall-5.2.8 and bash-5.2.15(1).

AUTOMAKE is set to No in /etc/shorewall/shorewall.conf.