mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-21 08:09:55 +00:00
Drop pbpaste trace log that fires whenever the macOS pasteboard is empty
This commit is contained in:
@@ -564,7 +564,7 @@ func (m *MacInputInjector) GetClipboard() string {
|
||||
}
|
||||
out, err := exec.Command(m.pbpastePath).Output()
|
||||
if err != nil {
|
||||
log.Tracef("get clipboard via pbpaste: %v", err)
|
||||
// pbpaste exits 1 when the pasteboard has no string flavour.
|
||||
return ""
|
||||
}
|
||||
return string(out)
|
||||
|
||||
Reference in New Issue
Block a user