mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-01 06:45:35 +00:00
scripts: Fix path assignment
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -61,7 +61,7 @@ int add_script(char *path, int arg)
|
|||||||
if (script == NULL)
|
if (script == NULL)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
script->path = optarg;
|
script->path = path;
|
||||||
script->arg = arg;
|
script->arg = arg;
|
||||||
list_add(&script->node, &opts.scripts);
|
list_add(&script->node, &opts.scripts);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user