diff --git a/web/clitools/maintain/pcloop.bash b/web/clitools/maintain/pcloop.bash index 1f04cfe..06c9aa6 100755 --- a/web/clitools/maintain/pcloop.bash +++ b/web/clitools/maintain/pcloop.bash @@ -22,5 +22,6 @@ while true; do fi tail $cmdlogfp >> $logfp log "### THE END ###" + cp "$cmdlogfp" "${cmdlogfp}.old" done exit 0;