Commit Diff


commit - 93fee45ebd8ef1cd28b6e9d52caa496e68894cc8
commit + 1af95f8c9880b85e198e938140f2d8a794c51ef0
blob - 86c9230f032b7a0327bd5695cb30009600f459a3
blob + 1c547d7575bf4c66c44da1d17088ef8ec18ba2f1
--- cpu.sh
+++ cpu.sh
@@ -54,7 +54,7 @@ for VM in ${OUT}; do
 				echo -n " - ${FIRSTSEEN}"
 				echo -n ", $((${TIMESTAMP} - ${FIRSTSEEN}))"
 				echo -n ", ${LASTSEEN}"
-				echo -n ", $((${TIMESTAMP} - ${LASTSEEN}))"
+				echo ", $((${TIMESTAMP} - ${LASTSEEN}))"
 			fi
 
 			if [[ $(( ${TIMESTAMP} - ${LASTSEEN} )) -gt $(( 60 * ${TTL} )) ]]; then
@@ -69,7 +69,6 @@ for VM in ${OUT}; do
 					rm -rf /tmp/${VM}
 				fi
 			fi
-			echo
 		else
 			if [ -n "${DEBUG}" ]; then echo " - firstseen"; fi
 			echo ${TIMESTAMP} > /tmp/${VM}