forked from extern/shorewall_code
Work around 'echo' commands in /etc/shorewall[6]/params
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
6f5ab698b4
commit
aab9fb1d8e
@ -82,7 +82,7 @@ get_script_version() { # $1 = script
|
||||
verbosity="$VERBOSITY"
|
||||
VERBOSITY=0
|
||||
|
||||
temp=$( $SHOREWALL_SHELL $1 version | sed 's/-.*//' )
|
||||
temp=$( $SHOREWALL_SHELL $1 version | tail -n 1 | sed 's/-.*//' )
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
version=0
|
||||
|
Loading…
Reference in New Issue
Block a user