diff --git a/Shorewall/lib.cli-std b/Shorewall/lib.cli-std index 32f7f0b05..e2bebd4cb 100644 --- a/Shorewall/lib.cli-std +++ b/Shorewall/lib.cli-std @@ -445,7 +445,7 @@ run_postcompile() { # $1 is the compiled script script=$(find_file postcompile) - if [ -n "$script" ]; then + if [ -f $script ]; then . $script $1 else return 0