mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-15 20:26:53 +02:00
create sync_dir if it doesn't exists
This commit is contained in:
parent
bfb24193db
commit
09af80d843
|
@ -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 ...");
|
||||
|
|
Loading…
Reference in a new issue