From 88ab423b2af0414665d4c546abee97ebfab90296 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 2 Sep 2012 14:55:56 -0700 Subject: [PATCH] Correct 'postcompile' patch Signed-off-by: Tom Eastep --- Shorewall/lib.cli-std | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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