Skip to content

Commit

Permalink
indexing dbpath: do not call getenv since it may fail (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
fblanqui authored Jun 24, 2024
1 parent 2cb70da commit 0a3a2c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tool/indexing.ml
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ module DB = struct

(* disk persistence *)

let dbpath = Sys.getenv "HOME" ^ "/.LPSearch.db"
let dbpath = "~/.LPSearch.db"
let rwpaths = ref []

let restore_from_disk () =
Expand Down

0 comments on commit 0a3a2c4

Please sign in to comment.