diff --git a/src/main.d b/src/main.d index 91582f50..6d808f5a 100644 --- a/src/main.d +++ b/src/main.d @@ -71,6 +71,7 @@ void main(string[] args) string syncDir = expandTilde(cfg.get("sync_dir")); if (verbose) writeln("All operations will be performed in: ", syncDir); + if (!exists(syncDir)) mkdir(syncDir); chdir(syncDir); if (verbose) writeln("Initializing the Synchronization Engine ...");