diff options
author | alex-z <blackslayer4@gmail.com> | 2021-09-24 13:33:01 +0300 |
---|---|---|
committer | Matthieu Gallien (Rebase PR Action) <matthieu_gallien@yahoo.fr> | 2021-09-27 11:13:29 +0300 |
commit | e16402a1021c30810d2b0c031a6d02067153d76c (patch) | |
tree | 7526f894d1c87ae71acc65bf9d396450032cdd80 /src/cmd | |
parent | ef3afd741a76b6d3e6f45a1a2209958173b65b48 (diff) |
Fix incorrect db name for nextcloud command line client.
Signed-off-by: alex-z <blackslayer4@gmail.com>
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/cmd.cpp b/src/cmd/cmd.cpp index da092807b..38e8d7091 100644 --- a/src/cmd/cmd.cpp +++ b/src/cmd/cmd.cpp @@ -350,7 +350,7 @@ int main(int argc, char **argv) return EXIT_FAILURE; } - QUrl hostUrl = QUrl::fromUserInput(options.target_url); + QUrl hostUrl = QUrl::fromUserInput(options.target_url.endsWith('/') ? options.target_url.chopped(1) : options.target_url); // Order of retrieval attempt (later attempts override earlier ones): // 1. From URL |