mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
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
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue