Skip to content

Commit

Permalink
Quit logging clipboard contents to the systemd journal. For cdown#49
Browse files Browse the repository at this point in the history
I'm not sure if this issue happens all the time, or only when
/dev/stderr can't be read.

Perhaps in debug mode it would be better to not send this output
to /dev/null, since it might be helpful for diagnostics.
  • Loading branch information
markstos committed Oct 29, 2017
1 parent ef3102c commit 5f17a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clipmenud
Expand Up @@ -13,7 +13,7 @@ lock_file=$cache_dir/lock
lock_timeout=2

_xsel() {
timeout 1 xsel --logfile /dev/stderr "$@"
timeout 1 xsel --logfile /dev/stderr "$@" 2>/dev/null
}

get_first_line() {
Expand Down

0 comments on commit 5f17a0b

Please sign in to comment.