Show warning on unexpected portmaster-start binary path

This commit is contained in:
Patrick Pacher
2020-07-22 15:44:56 +02:00
parent 504c753a9b
commit 81c6ed2906
3 changed files with 30 additions and 9 deletions

View File

@@ -185,7 +185,13 @@ func start() error {
}
// react to upgrades
return initUpgrader()
if err := initUpgrader(); err != nil {
return err
}
warnOnIncorrectParentPath()
return nil
}
// TriggerUpdate queues the update task to execute ASAP.