syncthing: 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:57:14 -10:00
parent bc57c8d0ec
commit ab30ab04c0
1 changed files with 1 additions and 1 deletions

View File

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