projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce8341c
)
Fix for issue number 5692
author
Kaustubh Welankar
<kaustubh.welankar@hotmail.com>
Fri, 14 Jul 2017 11:20:49 +0000
(16:50 +0530)
committer
Kaustubh Welankar
<kaustubh.welankar@hotmail.com>
Fri, 14 Jul 2017 11:20:49 +0000
(16:50 +0530)
src/cmd/cmd.cpp
patch
|
blob
|
history
diff --git
a/src/cmd/cmd.cpp
b/src/cmd/cmd.cpp
index 5baeb8a8bebc7269140708b771fe60fcc52289a3..d748612ec37fb787628b1ba258899024966d271d 100644
(file)
--- a/
src/cmd/cmd.cpp
+++ b/
src/cmd/cmd.cpp
@@
-442,6
+442,11
@@
int main(int argc, char **argv)
loop.exec();
#endif
+ if (job->reply()->error() != QNetworkReply::NoError){
+ std::cout<<"Authentication Error\n";
+ return EXIT_FAILURE;
+ }
+
// much lower age than the default since this utility is usually made to be run right after a change in the tests
SyncEngine::minimumFileAgeForUpload = 0;