commit 4a39610896eb0f30b29fd2acbe4447ad97e90803 parent ad47f8e2dbecf18b06e4339d26235e11bf16bb75 Author: Chris Down <chris@chrisdown.name> Date: Wed, 1 May 2019 11:27:24 -0400 clipmenud: Make session file error message more clear Diffstat:
M | clipmenud | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/clipmenud b/clipmenud @@ -120,7 +120,8 @@ mkdir -p -m0700 "$cache_dir" exec {session_lock_fd}> "$session_lock_file" -flock -x -n "$session_lock_fd" || die 2 "Can't lock session file" +flock -x -n "$session_lock_fd" || + die 2 "Can't lock session file -- is another clipmenud running?" declare -A last_data declare -A last_filename