mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 16:54:10 +01:00
Correct the output of 'version -a'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
f88584b916
commit
2d1a12f016
@ -562,8 +562,8 @@ version_command() {
|
||||
echo "shorewall-core: $(cat $g_sharedir/coreversion)"
|
||||
|
||||
for product in shorewall shorewall6 shorewall-lite shorewall6-lite shorewall-init; do
|
||||
if [ -f $g_sharedir/version ]; then
|
||||
echo "$product: $(cat $g_sharedir/version)"
|
||||
if [ -f ${SHAREDIR}/$product/version ]; then
|
||||
echo "$product: $(cat ${SHAREDIR}/$product/version)"
|
||||
fi
|
||||
done
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user