mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-31 01:34:12 +02:00
Fix multiple matches in Linux kickstart version detection
This commit is contained in:
parent
ef541f92af
commit
237572a826
@ -109,7 +109,7 @@ redhat)
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
icinga_version() {
|
icinga_version() {
|
||||||
"$ICINGA2_BIN" --version 2>/dev/null | grep -oP 'version: [rv]?\K\d+\.\d+\.\d+[^\)]*'
|
"$ICINGA2_BIN" --version 2>/dev/null | grep -oP '\(version: [rv]?\K\d+\.\d+\.\d+[^\)]*'
|
||||||
}
|
}
|
||||||
|
|
||||||
icinga_major() {
|
icinga_major() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user