script: follow --logging-format on -t
Let's use new logic for timing file format also for old -t command line option. Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
01aedbecfe
commit
00130885ab
|
@ -865,11 +865,7 @@ int main(int argc, char **argv)
|
|||
case 't':
|
||||
if (optarg && *optarg == '=')
|
||||
optarg++;
|
||||
log_associate(&ctl, &ctl.out,
|
||||
optarg ? optarg : "/dev/stderr",
|
||||
SCRIPT_FMT_TIMING_SIMPLE);
|
||||
/* used for message only */
|
||||
timingfile = optarg ? optarg : "stderr";
|
||||
timingfile = optarg ? optarg : "/dev/stderr";
|
||||
break;
|
||||
case 'T' :
|
||||
timingfile = optarg;
|
||||
|
|
Loading…
Reference in New Issue