Commit Diff


commit - 89ef1c36de61dbc8be36698d345d48c4e3adede0
commit + 93fee45ebd8ef1cd28b6e9d52caa496e68894cc8
blob - 45261b61c3e5fdb0b879cc3a1a585fba277f188e
blob + 86c9230f032b7a0327bd5695cb30009600f459a3
--- 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}"