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

Commit b78c3ae2 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixed header on runCommand()."

parents 0840f761 c5d6cfc0
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -758,9 +758,9 @@ int runCommand(const char* title, const std::vector<std::string>& fullCommand,

    const char* args[size];

    printf("------");
    if (title) printf(" %s", title);
    printf(" (");
    if (title) {
        printf("------ %s (", title);
    }

    std::string commandString;
    int i = 0;
@@ -780,7 +780,10 @@ int runCommand(const char* title, const std::vector<std::string>& fullCommand,
    args[i] = nullptr;
    const char* path = args[0];
    const char* command = commandString.c_str();
    printf("%s)\n", command);

    if (title) {
        printf("%s) ------\n", command);
    }

    fflush(stdout);