diff --git a/inc/status.inc b/inc/status.inc index eb615268..a04f7d15 100755 --- a/inc/status.inc +++ b/inc/status.inc @@ -40,7 +40,7 @@ STATUS(){ ${PH_CMD} rm -f ${NM_FOLDER}/test.repl daterun=`date +%Y-%m-%d-%H-%M-%S` ${PH_CMD} "echo -e \"Status-Check (${NODE_HOSTNAME})\n${daterun}\" > ${NM_REPL_CHECK_LOC[${rcheck}]}/test.repl" & - run=$(${PH_CMD} find ${NM_REPL_CHECK_LOC[${rcheck}]} -iname "*.sync-conflict-*" -exec rm {} \;) >/dev/null 2>&1 + ${PH_CMD} 'find ${NM_REPL_CHECK_LOC[${rcheck}]} -iname "*.sync-conflict-*" -exec rm {} \;' done fi fi @@ -554,7 +554,7 @@ It was down for $(SHOW_TIME ${toterrtime})" fi rm -f ${NM_TMPFOLDER}/${nip}~${rcheck}.repl* fi - run=$(ssh -q root@${nip} find ${NM_REPL_CHECK_LOC[${rcheck}]} -iname "*.sync-conflict-*" -exec rm {} \;) >/dev/null 2>&1 + ssh -q root@${nip} find ${NM_REPL_CHECK_LOC[${rcheck}]} -iname "*.sync-conflict-*" -exec rm {} \; fi done