mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-23 22:58:52 +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)"
|
echo "shorewall-core: $(cat $g_sharedir/coreversion)"
|
||||||
|
|
||||||
for product in shorewall shorewall6 shorewall-lite shorewall6-lite shorewall-init; do
|
for product in shorewall shorewall6 shorewall-lite shorewall6-lite shorewall-init; do
|
||||||
if [ -f $g_sharedir/version ]; then
|
if [ -f ${SHAREDIR}/$product/version ]; then
|
||||||
echo "$product: $(cat $g_sharedir/version)"
|
echo "$product: $(cat ${SHAREDIR}/$product/version)"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user