diff --git a/process/module.go b/process/module.go index 4134d755..a530bd21 100644 --- a/process/module.go +++ b/process/module.go @@ -3,7 +3,6 @@ package process import ( "os" - "github.com/safing/portbase/log" "github.com/safing/portbase/modules" "github.com/safing/portmaster/updates" ) @@ -26,7 +25,6 @@ func start() error { if updatesPath != "" { updatesPath += string(os.PathSeparator) } - log.Warningf("process: using updates path %s", updatesPath) return nil } diff --git a/profile/get.go b/profile/get.go index b1f84ad8..56821c0e 100644 --- a/profile/get.go +++ b/profile/get.go @@ -2,7 +2,6 @@ package profile import ( "errors" - "strings" "github.com/safing/portbase/database" @@ -154,12 +153,6 @@ func findProfile(linkedPath string) (profile *Profile, err error) { // If there was no profile in the database, create a new one, and return it. profile = New(SourceLocal, "", linkedPath, nil) - // Check if the profile should be marked as internal. - // This is the case whenever the binary resides within the data root dir. - if updatesPath != "" && strings.HasPrefix(linkedPath, updatesPath) { - profile.Internal = true - } - return profile, nil } diff --git a/profile/module.go b/profile/module.go index 7a62aa1a..2b8eea56 100644 --- a/profile/module.go +++ b/profile/module.go @@ -39,7 +39,6 @@ func start() error { if updatesPath != "" { updatesPath += string(os.PathSeparator) } - log.Warningf("profile: using updates path %s", updatesPath) err := registerValidationDBHook() if err != nil {