From 92371c1f10f518b032f92813110a00f6c41b79ef Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Mon, 23 Jan 2023 08:27:01 -0700 Subject: emacsclient wrapper: ensure sockets directory exists --- bin/emacsclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/emacsclient b/bin/emacsclient index a8268fd0..cb371608 100755 --- a/bin/emacsclient +++ b/bin/emacsclient @@ -130,7 +130,7 @@ wait_inotifywait () { } spw_flock () { - ( umask 077; mkdir -p "$locks_dir" ) + ( umask 077; mkdir -p "$socket_dir" "$locks_dir" ) eval "exec $1<>${locks_dir}$2" flock $([ -n "$timeout" ] && printf -- "--wait %s" "$timeout") "$1" \ || fail "couldn't lock starting Emacs daemon named $2" -- cgit v1.2.3