clipmenud: Don't mkdir cache_dir again
If someone deletes the dir, they must restart clipmenud.
This commit is contained in:
parent
228fcbdd0d
commit
80b697edd2
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue