Fix bug in remote-delivery actor SQLite database handling
This commit is contained in:
parent
83a36824a0
commit
88e96b019e
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ startDeliveryTheater headers micros manager logFunc dbRootDir = do
|
||||||
-- We first add the sqlite3 extension as needed
|
-- We first add the sqlite3 extension as needed
|
||||||
entries <- listDirectory dbRootDir
|
entries <- listDirectory dbRootDir
|
||||||
for_ entries $ \ path ->
|
for_ entries $ \ path ->
|
||||||
if "-wal-shm" `isSuffixOf` path || "-wal-wal" `isSuffixOf` path
|
if "-shm" `isSuffixOf` path || "-wal" `isSuffixOf` path
|
||||||
then return ()
|
then return ()
|
||||||
else if takeExtension path == ".sqlite3"
|
else if takeExtension path == ".sqlite3"
|
||||||
then return ()
|
then return ()
|
||||||
|
|
Loading…
Reference in a new issue