clipmenu

Simple clipboard management using dmenu
git clone https://git.sinitax.com/cdown/clipmenu
Log | Files | Refs | README | LICENSE | sfeed.txt

commit 44545be18e82311dfcc37c65dfc8935a689246f7
parent 83289bb94d60730e59ad5e5aa94d13fdea8aa96e
Author: Chris Down <chris@chrisdown.name>
Date:   Wed,  9 May 2018 13:02:54 +0100

Canonicalise missing elements in readlink

Fixes #81.

Diffstat:
Mclipmenud | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clipmenud b/clipmenud @@ -27,7 +27,7 @@ for file in /proc/self/fd/2 /dev/stderr; do [[ -f "$file" ]] || continue # In Linux, it's not possible to write to a socket represented by a file # (for example, /dev/stderr or /proc/self/fd/2). See issue #54. - [[ -f "$(readlink "$file")" ]] || continue + [[ -f "$(readlink -m "$file")" ]] || continue xsel_log="$file" break done