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:
@@ -517,7 +517,7 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
apiTracerArgv[ 0 ] = "tail";
|
apiTracerArgv[ 0 ] = "tail";
|
||||||
apiTracerArgv[ 1 ] = "+0f";
|
apiTracerArgv[ 1 ] = "-f";
|
||||||
apiTracerArgv[ 2 ] = traceFile;
|
apiTracerArgv[ 2 ] = traceFile;
|
||||||
if (snoopFile == 0) {
|
if (snoopFile == 0) {
|
||||||
//
|
//
|
||||||
@@ -530,7 +530,7 @@ main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
snooperArgv[ 0 ] = "tail";
|
snooperArgv[ 0 ] = "tail";
|
||||||
snooperArgv[ 1 ] = "+0f";
|
snooperArgv[ 1 ] = "-f";
|
||||||
snooperArgv[ 2 ] = snoopFile;
|
snooperArgv[ 2 ] = snoopFile;
|
||||||
|
|
||||||
if (optind < argc) {
|
if (optind < argc) {
|
||||||
|
|||||||
Reference in New Issue
Block a user