From eecc03171887f4866f12fd011e50c71b4ffabbc9 Mon Sep 17 00:00:00 2001 From: Chris Down Date: Sun, 19 Mar 2017 07:31:01 +0000 Subject: [PATCH] Use stderr for xsel logging when detached --- clipmenu | 2 +- clipmenud | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clipmenu b/clipmenu index 5b5f873..bdb6489 100755 --- a/clipmenu +++ b/clipmenu @@ -24,5 +24,5 @@ if ! [[ -f "$file" ]]; then fi for selection in clipboard primary; do - xsel --logfile /dev/null -i --"$selection" < "$file" + xsel --logfile /dev/stderr -i --"$selection" < "$file" done diff --git a/clipmenud b/clipmenud index 03c4e8e..782f42d 100755 --- a/clipmenud +++ b/clipmenud @@ -7,7 +7,7 @@ lock_file=$cache_dir/lock lock_timeout=2 _xsel() { - timeout 1 xsel --logfile /dev/null "$@" + timeout 1 xsel --logfile /dev/stderr "$@" } get_first_line() {