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:
parent
af6c2fd881
commit
392356f6b4
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue