mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +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)
|
||||
return 1;
|
||||
|
||||
script->path = optarg;
|
||||
script->path = path;
|
||||
script->arg = arg;
|
||||
list_add(&script->node, &opts.scripts);
|
||||
|
||||
|
Reference in New Issue
Block a user