mirror of
https://github.com/safing/portmaster
synced 2025-09-04 11:39:29 +00:00
Only warn about unexpected parent process when not in dev mode
This commit is contained in:
parent
9a39caf22b
commit
d0e3107ea5
1 changed files with 4 additions and 1 deletions
|
@ -230,7 +230,10 @@ func warnOnIncorrectParentPath() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if parentName != expectedFileName {
|
if parentName != expectedFileName {
|
||||||
log.Warningf("updates: parent process does not seem to be portmaster-start, name is %s", parentName)
|
// Only warn about this if not in dev mode.
|
||||||
|
if !devMode() {
|
||||||
|
log.Warningf("updates: parent process does not seem to be portmaster-start, name is %s", parentName)
|
||||||
|
}
|
||||||
|
|
||||||
// TODO(ppacher): once we released a new installer and folks had time
|
// TODO(ppacher): once we released a new installer and folks had time
|
||||||
// to update we should send a module warning/hint to the
|
// to update we should send a module warning/hint to the
|
||||||
|
|
Loading…
Add table
Reference in a new issue