commit 80b697edd2244c6b477cf08308fa88beab4b13bf
parent 228fcbdd0d0e86afdfacadebbf812d24452b4686
Author: Chris Down <chris@chrisdown.name>
Date: Mon, 23 Mar 2020 17:11:04 +0000
clipmenud: Don't mkdir cache_dir again
If someone deletes the dir, they must restart clipmenud.
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/clipmenud b/clipmenud
@@ -188,11 +188,6 @@ while true; do
last_data[$selection]=$data
- # Recover without restart if we deleted the entire clip dir.
- # It's ok that this only applies to the final directory.
- # shellcheck disable=SC2174
- mkdir -p -m0700 "$cache_dir"
-
debug "Writing $data to $filename"
printf '%s' "$data" > "$filename"