Commit 926c6cb3 authored by Sinisa@sinisa.nasamreza.org's avatar Sinisa@sinisa.nasamreza.org
Browse files

A small bug fix for the tee command ...

parent 791215f1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;