emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dtache 3c61776c7f 014/158: Fix dtache initialization


From: ELPA Syncer
Subject: [elpa] externals/dtache 3c61776c7f 014/158: Fix dtache initialization
Date: Wed, 19 Jan 2022 18:57:40 -0500 (EST)

branch: externals/dtache
commit 3c61776c7f5c1a3cca6216235050c77b5ec8aa5f
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>

    Fix dtache initialization
    
    Fix dtache-initialize. The session directory needs to always be
    checked and maybe created. The reason is that the user can have
    initialized the connection to the database whilst on a remote
    machine. Then on the local machine the check for initialization of the
    database will be skipped, this patch makes sure that doesn't happen.
---
 dtache.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dtache.el b/dtache.el
index ad74a3b5ac..82838d59f6 100644
--- a/dtache.el
+++ b/dtache.el
@@ -175,8 +175,8 @@
   "Initialize `dtache'."
   (unless dtache-db
     (dtache-db-initialize)
-    (dtache-create-session-directory)
-    (dtache-cleanup-sessions)))
+    (dtache-cleanup-sessions))
+  (dtache-create-session-directory))
 
 ;;;;; Database
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]