diff options
author | Christian Hesse <mail@eworm.de> | 2023-03-30 20:50:55 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-03-30 20:50:55 +0200 |
commit | 5f374c469a0bc49b2c9bf26cc3129e747867cc42 (patch) | |
tree | 46dfee68410996602596d5bcf4562ebaf8fa6640 /global-functions.rsc | |
parent | 779b3b8872b23b784c331d7a454c86439046f5d3 (diff) |
global-functions: $RequiredRouterOS: accept "alpha" in version string
Diffstat (limited to 'global-functions.rsc')
-rw-r--r-- | global-functions.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc index 24b6223..82823fb 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -704,7 +704,7 @@ :global LogPrintExit2; :global VersionToNum; - :if (!($Required ~ "^\\d+\\.\\d+((beta|rc|\\.)\\d+|)\$")) do={ + :if (!($Required ~ "^\\d+\\.\\d+((alpha|beta|rc|\\.)\\d+|)\$")) do={ $LogPrintExit2 error $0 ("No valid RouterOS version: " . $Required) false; :return false; } |