Commit f45060e1 authored by Pavel Emelyanov's avatar Pavel Emelyanov

scripts: Fix path assignment

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent bd8b5dd5
......@@ -61,7 +61,7 @@ int add_script(char *path, int arg)
if (script == NULL)
return 1;
script->path = optarg;
script->path = path;
script->arg = arg;
list_add(&script->node, &opts.scripts);
......
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