so we can put something like the following into the config file:
mirror-cmd=lfs mirror extend -N --stats --stats-interval=1 -W1M
Test-Parameters: trivial testlist=hot-pools
Signed-off-by: Alex Zhuravlev <bzzz@whamcloud.com>
Change-Id: Ib01c4b4c76a46ee44189cc6fa763306b059886b3
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/51768
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
}
if (opt->has_arg == required_argument ||
opt->has_arg == optional_argument) {
- optarg = strsep(&s, "\n ");
+ optarg = strsep(&s, "\n");
if (!optarg &&
opt->has_arg == required_argument)
LX_FATAL("option '%s' requires an argument\n", t);
[[ -z \\\"$LAMIGO_EXTRA\\\" ]] ||
echo \\\"$LAMIGO_EXTRA\\\" >> $cfg_file;
[[ -z \\\"$LAMIGO_MIRROR_CMD\\\" ]] ||
- echo mirror-cmd=\'$LAMIGO_MIRROR_CMD\' >> $cfg_file;
+ echo mirror-cmd=$LAMIGO_MIRROR_CMD >> $cfg_file;
[[ -z \\\"$LAMIGO_DUMP\\\" ]] ||
echo dump=\\\"${LAMIGO_DUMP}.$mdt\\\" >> $cfg_file;
! $LAMIGO_DEBUG || echo debug >> $cfg_file;