mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-22 14:20:40 +01:00
Correct the output of 'version -a'
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
32264c2e7e
commit
1477d60926
@ -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