1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

A small bug fix for the tee command ...

This commit is contained in:
Sinisa@sinisa.nasamreza.org
2002-08-27 16:01:25 +03:00
parent 791215f16b
commit 926c6cb3fa

View File

@ -1855,7 +1855,7 @@ com_tee(String *buffer, char *line __attribute__((unused)))
while (end > file_name && (isspace(end[-1]) || iscntrl(end[-1])))
end--;
end[0]= 0;
if (!strlen(outfile))
if (!strlen(file_name))
{
printf("No outfile specified!\n");
return 0;