summaryrefslogtreecommitdiff
path: root/functions/defaults.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-12-04 11:31:01 +0100
committerDaniel Baumann <daniel@debian.org>2012-12-04 11:31:01 +0100
commit37c9a7e0f0a96c000e5adc62057fe1db40e95f58 (patch)
tree45cc2a7d07c95c23a77e09c0e42d4ac7c7f14262 /functions/defaults.sh
parent4be0cce940c88b7dccb2231677bff94ed4353b2a (diff)
downloadvyos-live-build-37c9a7e0f0a96c000e5adc62057fe1db40e95f58.tar.gz
vyos-live-build-37c9a7e0f0a96c000e5adc62057fe1db40e95f58.zip
Correcting test for no config tree version number to match all other cases, not just lower-than-1.
Diffstat (limited to 'functions/defaults.sh')
-rwxr-xr-xfunctions/defaults.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index c9440d75f..03d8069e9 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -1232,8 +1232,7 @@ Check_defaults ()
Echo_error "This config tree is too old for this version of live-build (${VERSION})."
Echo_error "Aborting build, please regenerate the config tree."
exit 1
- elif [ ${CURRENT_CONFIG_VERSION} -lt 1 ]
- then
+ else
Echo_warning "This config tree does not specify a format version or has an unknown version number."
Echo_warning "Continuing build, but it could lead to errors or different results. Please regenerate the config tree."
fi