prometheus: simplify runtime test

Passed argument no longer contains the release.

Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
Paul Spooren 2020-09-17 18:56:34 -10:00
parent 4f4207be0c
commit bc57c8d0ec
1 changed files with 1 additions and 1 deletions

View File

@ -1,3 +1,3 @@
#!/bin/sh
prometheus --version 2>&1 | grep "${2%%-*}"
prometheus --version 2>&1 | grep "$2"