Error in label check for “version”

Fixed.
This commit is contained in:
Søren Theilgaard
2021-11-22 11:05:34 +01:00
parent bf6fda07d6
commit f621d36981

View File

@@ -37,7 +37,7 @@ done
label=${label:l}
# separate check for 'version' in order to print plain version number without any other information
if [ $label == "version" ]; then
if [[ $label == "version" ]]; then
echo "$VERSION"
exit 0
fi