Commit fa73b3e7 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

crtools: Use -o argument directly

There is no much point to strdup this value
obtained from command line. It sits in environment
and we don't modify it at all.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 664659a0
...@@ -162,7 +162,7 @@ int main(int argc, char *argv[]) ...@@ -162,7 +162,7 @@ int main(int argc, char *argv[])
} }
break; break;
case 'o': case 'o':
opts.output = strdup(optarg); opts.output = optarg;
if (log_init(optarg)) if (log_init(optarg))
return -1; return -1;
log_inited = 1; log_inited = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment