Repositories / jai.git

jai.git

Clone (read-only): git clone http://git.guha-anderson.com/git/jai.git

Branch

allow relative storage from cli

Author
David Mazieres <dm@uun.org>
Date
2026-03-24 01:44:26 -0700
Commit
ed0e96a75d1c0adb2d46bed27b9c7a5e5d517c1b
jai.cc
index d799c8c..34a5f81 100644
--- a/jai.cc
+++ b/jai.cc
@@ -1055,7 +1055,7 @@ Config::opt_parser(bool dotjail)
         if (parsing_config_file_)
           storagedir_ = homepath_ / sd;
         else
-          storagedir_ = sd;
+          storagedir_ = cwd() / sd;
       },
       R"(Store overlay and private home directories in DIR
 (default: $JAI_CONFIG_DIR or $HOME/.jai))",