Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4171773 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Explicitly show the destination filename for a bugreport.

It's in the progress output, but typically gets truncated.

Bug: https://issuetracker.google.com/131112559
Test: adb bugreport
Change-Id: I35ba4f39941aea68f2412e7b64feaac4da2f82e3
parent 58c7c247
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -104,7 +104,9 @@ class BugreportStandardStreamsCallback : public StandardStreamsCallbackInterface
            SetLineMessage("pulling");
            status_ =
                br_->DoSyncPull(srcs, destination.c_str(), false, line_message_.c_str()) ? 0 : 1;
            if (status_ != 0) {
            if (status_ == 0) {
                printf("Bug report copied to %s\n", destination.c_str());
            } else {
                fprintf(stderr,
                        "Bug report finished but could not be copied to '%s'.\n"
                        "Try to run 'adb pull %s <directory>'\n"