mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-05 15:33:16 +02:00
Fix handling of a custom configuration directory (#2029)
* Fix handling of a custom configuration directory
This commit is contained in:
parent
3591eededc
commit
e422adb477
|
@ -182,6 +182,8 @@ final class Config
|
|||
string systemConfigDirBase;
|
||||
if (confdirOption != "") {
|
||||
// A CLI 'confdir' was passed in
|
||||
// Clean up any stray " .. these should not be there ...
|
||||
confdirOption = strip(confdirOption,"\"");
|
||||
log.vdebug("configDirName: CLI override to set configDirName to: ", confdirOption);
|
||||
if (canFind(confdirOption,"~")) {
|
||||
// A ~ was found
|
||||
|
|
Loading…
Reference in a new issue