Commit Diff
--- cpu.sh +++ cpu.sh @@ -50,7 +50,7 @@ for VM in ${OUT}; do FIRSTSEEN=$(awk 'NR==1' /tmp/${VM}) LASTSEEN=$(awk 'NR==2' /tmp/${VM}) - if [ -z "${DEBUG}" ]; then + if [ -n "${DEBUG}" ]; then echo -n " - ${FIRSTSEEN}" echo -n ", $((${TIMESTAMP} - ${FIRSTSEEN}))" echo -n ", ${LASTSEEN}"