mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +03:00
Merge pull request #3832 from nextcloud/bugfix/incorrect-cmd-client-dbname
Fix incorrect db name for nextcloud command line client.
This commit is contained in:
commit
c521ca0949
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ int main(int argc, char **argv)
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
QUrl hostUrl = QUrl::fromUserInput(options.target_url);
|
QUrl hostUrl = QUrl::fromUserInput((options.target_url.endsWith(QLatin1Char('/')) || options.target_url.endsWith(QLatin1Char('\\'))) ? options.target_url.chopped(1) : options.target_url);
|
||||||
|
|
||||||
// Order of retrieval attempt (later attempts override earlier ones):
|
// Order of retrieval attempt (later attempts override earlier ones):
|
||||||
// 1. From URL
|
// 1. From URL
|
||||||
|
|
Loading…
Reference in a new issue