ttsnoop: use tail arg -f rather than +0f

I cannot even find out what "+0f" is supposed to do (google fail), but
this seems a reasonable alternative that should work everywhere.
This commit is contained in:
Jon Trulson 2018-06-29 14:37:48 -06:00
parent af6c2fd881
commit 392356f6b4
1 changed files with 2 additions and 2 deletions

View File

@ -517,7 +517,7 @@ main(int argc, char **argv)
}
}
apiTracerArgv[ 0 ] = "tail";
apiTracerArgv[ 1 ] = "+0f";
apiTracerArgv[ 1 ] = "-f";
apiTracerArgv[ 2 ] = traceFile;
if (snoopFile == 0) {
//
@ -530,7 +530,7 @@ main(int argc, char **argv)
}
}
snooperArgv[ 0 ] = "tail";
snooperArgv[ 1 ] = "+0f";
snooperArgv[ 1 ] = "-f";
snooperArgv[ 2 ] = snoopFile;
if (optind < argc) {