summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/build-vyos-image2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build-vyos-image b/scripts/build-vyos-image
index 716a4cde..141da5e2 100755
--- a/scripts/build-vyos-image
+++ b/scripts/build-vyos-image
@@ -207,7 +207,7 @@ if __name__ == "__main__":
sys.exit(1)
# Validate characters in version name
- if 'version' in args:
+ if 'version' in args and args['version'] != None:
allowed = string.ascii_letters + string.digits + '.' + '-' + '+'
if not set(args['version']) <= set(allowed):
print(f'Version contained illegal character(s), allowed: {allowed}')