mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00: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
|
||||
|
||||
prometheus --version 2>&1 | grep "${2%%-*}"
|
||||
prometheus --version 2>&1 | grep "$2"
|
||||
|
||||
Reference in New Issue
Block a user