Commit 3302bb62 authored by unknown's avatar unknown

A small bug fix for the tee command ...

parent f3a076d4
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment