Fix incorrect flag for portmaster-start

This commit is contained in:
Patrick Pacher 2020-07-17 14:12:01 +02:00
parent cef2a4e9be
commit b5dbd35e3c
No known key found for this signature in database
GPG key ID: E8CD2DA160925A6D

View file

@ -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