Commit abe3c594 authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

Fix CRTOOLS_SCRIPT_ACTION name

... in quite a few places.
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 921dbf23
......@@ -77,7 +77,7 @@ OPTIONS
*--action-script* 'SCRIPT'::
Add an external action script.
The environment variable *CRTOOL_SCRIPT_ACTION* contains one of the
The environment variable *CRTOOLS_SCRIPT_ACTION* contains one of the
actions:
* *network-lock*
lock network in a target network namespace
......
......@@ -382,7 +382,7 @@ usage:
pr_msg(" --veth-pair [IN=OUT] correspondence between outside and inside names of veth devices\n");
pr_msg(" --link-remap allow to link unlinked files back when possible (modifies FS till restore)\n");
pr_msg(" --action-script [SCR] add an external action script\n");
pr_msg(" The environment variable CRTOOL_SCRIPT_ACTION contains one of the actions:\n");
pr_msg(" The environment variable CRTOOLS_SCRIPT_ACTION contains one of the actions:\n");
pr_msg(" * network-lock - lock network in a target network namespace\n");
pr_msg(" * network-unlock - unlock network in a target network namespace\n");
pr_msg(" -j|--%s allow to dump and restore shell jobs\n", OPT_SHELL_JOB);
......
......@@ -495,7 +495,7 @@ int run_scripts(char *action)
int ret = 0;
if (setenv("CRTOOLS_SCRIPT_ACTION", action, 1)) {
pr_perror("Can't set CRTOOL_SCRIPT_ACTION=%s", action);
pr_perror("Can't set CRTOOLS_SCRIPT_ACTION=%s", action);
return -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