diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 2d8f9616..3dc97f4f 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -28,8 +28,8 @@ STATUS() { for rcheck in "${REPL_CHECK[@]}"; do ${NCMD} rm -f ${FOLDER}/test.repl daterun=`date +%Y-%m-%d-%H-%M` - ${NCMD} echo -e "iDS-Node${nid} (${nip})\n${daterun}" > ${FOLDER}/test.repl - ${NCMD} yes | cp -rfH ${FOLDER}/test.repl ${REPL_CHECKS[${rcheck}]}/test.repl + ${NCMD} 'echo -e "iDS-Node${nid} (${nip})\n${daterun}" > ${FOLDER}/test.repl' + yes | ${NCMD} cp -rfH ${FOLDER}/test.repl ${REPL_CHECKS[${rcheck}]}/test.repl done fi done