diff options
author | Daniel Baumann <daniel@debian.org> | 2009-02-20 15:07:09 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:09:42 +0100 |
commit | e7da04b0f9ae1b44e3d615899139ff7391adfa31 (patch) | |
tree | 3b91e8ae50007098e207ea39a00702ad70521239 | |
parent | b7dd97408319ce1d389c8f22cb94feba228565e3 (diff) | |
download | vyos-live-build-e7da04b0f9ae1b44e3d615899139ff7391adfa31.tar.gz vyos-live-build-e7da04b0f9ae1b44e3d615899139ff7391adfa31.zip |
Emitting a warning rather than an error when iso strings are too long.
-rwxr-xr-x | functions/defaults.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index 3b7b02d79..3db6155c6 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -852,21 +852,21 @@ Check_defaults () if [ "$(echo ${LH_ISO_APPLICATION} | wc -c)" -ge 129 ] then - Echo_error "You have specified a too long string for iso application, the maximum lenght is 128 characters." + Echo_warning "You have specified a too long string for iso application, the maximum lenght is 128 characters." fi if [ "$(echo ${LH_ISO_PREPARER} | wc -c)" -ge 129 ] then - Echo_error "You have specified a too long string for iso preparer, the maximum lenght is 128 characters." + Echo_warning "You have specified a too long string for iso preparer, the maximum lenght is 128 characters." fi if [ "$(echo ${LH_ISO_PUBLISHER} | wc -c)" -ge 129 ] then - Echo_error "You have specified a too long string for iso publisher, the maximum lenght is 128 characters." + Echo_warning "You have specified a too long string for iso publisher, the maximum lenght is 128 characters." fi if [ "$(echo ${LH_ISO_VOLUME} | wc -c)" -ge 33 ] then - Echo_error "You have specified a too long string for iso volume, the maximum lenght is 32 characters." + Echo_warning "You have specified a too long string for iso volume, the maximum lenght is 32 characters." fi } |