mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
prometheus: simplify runtime test
Passed argument no longer contains the release. Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
prometheus --version 2>&1 | grep "${2%%-*}"
|
prometheus --version 2>&1 | grep "$2"
|
||||||
|
|||||||
Reference in New Issue
Block a user