clipmenud: Don't mkdir cache_dir again

If someone deletes the dir, they must restart clipmenud.
This commit is contained in:
Chris Down 2020-03-23 17:11:04 +00:00
parent 228fcbdd0d
commit 80b697edd2

View file

@ -188,11 +188,6 @@ while true; do
last_data[$selection]=$data 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" debug "Writing $data to $filename"
printf '%s' "$data" > "$filename" printf '%s' "$data" > "$filename"