Update power.inc.sh

This commit is contained in:
2023-12-30 16:27:15 -06:00
parent 4e9cee8c74
commit 732680d55b

View File

@@ -335,11 +335,11 @@ CHECKPOWER(){
fi fi
done done
fi fi
if [ ${REPORT} -eq 0 ]; then # if [ ${REPORT} -eq 0 ]; then
end=`date +%s` # end=`date +%s`
runtime=$((end-start)) # runtime=$((end-start))
echo -e "\nruntime: ${runtime}" # echo -e "\nruntime: ${runtime}"
fi # fi
[ "${PW_ACTION}" != "" ] && [ ${REPORT} -eq 0 ] && echo [ "${PW_ACTION}" != "" ] && [ ${REPORT} -eq 0 ] && echo
} }