mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-19 15:19:55 +00:00
Drop xclip-no-selection trace log that fires every 2s on Xvfb
This commit is contained in:
@@ -260,7 +260,9 @@ func (x *X11InputInjector) GetClipboard() string {
|
||||
cmd.Env = x.clipboardEnv()
|
||||
out, err := cmd.Output()
|
||||
if err != nil {
|
||||
log.Tracef("get clipboard via %s: %v", x.clipboardToolName, err)
|
||||
// Exit status 1 just means there is no STRING selection set yet,
|
||||
// which is the steady state on a fresh Xvfb session — logging it
|
||||
// every clipboard poll (2s) floods the trace stream.
|
||||
return ""
|
||||
}
|
||||
return string(out)
|
||||
|
||||
Reference in New Issue
Block a user