From b5dbd35e3ca73f5d05c6f32538a57833463d2944 Mon Sep 17 00:00:00 2001 From: Patrick Pacher Date: Fri, 17 Jul 2020 14:12:01 +0200 Subject: [PATCH] Fix incorrect flag for portmaster-start --- updates/upgrader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/updates/upgrader.go b/updates/upgrader.go index 254e42d8..281efb92 100644 --- a/updates/upgrader.go +++ b/updates/upgrader.go @@ -209,7 +209,7 @@ func upgradeFile(fileToUpgrade string, file *updater.File) error { if fileExists { // get current version var currentVersion string - cmd := exec.Command(fileToUpgrade, "--ver") + cmd := exec.Command(fileToUpgrade, "version", "--short") out, err := cmd.Output() if err == nil { // abort if version matches