Commit 75585f77 authored by Yang Tse's avatar Yang Tse
Browse files

Fix name of tool shown upon error.

parent 9a9f3503
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -2370,7 +2370,8 @@ sub singletest {
    }
    }
    else {
    else {
        if(!$short) {
        if(!$short) {
            printf "\ncurl returned $cmdres, %d was expected\n", $errorcode;
            printf("\n%s returned $cmdres, %d was expected\n",
                   (!$tool)?"curl":$tool, $errorcode);
        }
        }
        logmsg " exit FAILED\n";
        logmsg " exit FAILED\n";
        return 1;
        return 1;