Commit 043070f9 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Changed an error message slightly so it can be caught easier by the

autobuild logs scanner.
parent 36626c4b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -139,16 +139,16 @@ sub sysread_or_die {
        logmsg "Failed to read input\n";
        logmsg "Error: ftp$ftpdnum$ext sysread error: $!\n";
        kill(9, $sfpid);
        die "Died in sysread_or_die() when called from $fcaller " .
            "at line $lcaller. ftp$ftpdnum$ext sysread error: $!\n";
        die "Died in sysread_or_die() at $fcaller " .
            "line $lcaller. ftp$ftpdnum$ext sysread error: $!\n";
    }
    elsif($result == 0) {
        ($fcaller, $lcaller) = (caller)[1,2];
        logmsg "Failed to read input\n";
        logmsg "Error: ftp$ftpdnum$ext read zero\n";
        kill(9, $sfpid);
        die "Died in sysread_or_die() when called from $fcaller " .
            "at line $lcaller. ftp$ftpdnum$ext read zero\n";
        die "Died in sysread_or_die() at $fcaller " .
            "line $lcaller. ftp$ftpdnum$ext read zero\n";
    }

    return $result;