mirror of
https://github.com/safing/portmaster
synced 2025-09-02 18:49:14 +00:00
Fix incorrect flag for portmaster-start
This commit is contained in:
parent
cef2a4e9be
commit
b5dbd35e3c
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ func upgradeFile(fileToUpgrade string, file *updater.File) error {
|
||||||
if fileExists {
|
if fileExists {
|
||||||
// get current version
|
// get current version
|
||||||
var currentVersion string
|
var currentVersion string
|
||||||
cmd := exec.Command(fileToUpgrade, "--ver")
|
cmd := exec.Command(fileToUpgrade, "version", "--short")
|
||||||
out, err := cmd.Output()
|
out, err := cmd.Output()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
// abort if version matches
|
// abort if version matches
|
||||||
|
|
Loading…
Add table
Reference in a new issue