mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
A small bug fix for the tee command ...
This commit is contained in:
parent
f3a076d4f8
commit
3302bb6295
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue