summaryrefslogtreecommitdiff
path: root/bin/emacsclient
diff options
context:
space:
mode:
Diffstat (limited to 'bin/emacsclient')
-rwxr-xr-xbin/emacsclient2
1 files changed, 1 insertions, 1 deletions
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"