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

Commit 18b5965e authored by Tom Cherry's avatar Tom Cherry Committed by Gerrit Code Review
Browse files

Merge "fastboot: don't print anything in Status() if the input is empty"

parents e4424ff4 2217c50a
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -200,8 +200,10 @@ static std::string find_item(const std::string& item) {
double last_start_time;

static void Status(const std::string& message) {
    if (!message.empty()) {
        static constexpr char kStatusFormat[] = "%-50s ";
        fprintf(stderr, kStatusFormat, message.c_str());
    }
    last_start_time = now();
}