mirror of
https://gitlab.com/shorewall/code.git
synced 2025-08-19 05:01:47 +02:00
Allow output to stdout in an exported params file
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
@@ -38,7 +38,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
|
||||
|
Reference in New Issue
Block a user