diff --git a/pmf-suspend b/pmf-suspend index 9700f24..40b7181 100644 --- a/pmf-suspend +++ b/pmf-suspend @@ -76,7 +76,7 @@ while [ $total -gt 0 ] do sleep 1 & - printf "\r$suspendText%02d:%02d:%02d" $((total/3600)) $(( (total/60)%60)) $((total%60)) + printf "\r$suspendText%02d:%02d:%02d" $((total/3600)) $(((total/60)%60)) $((total%60)) total=$(( $total - 1 )) wait done @@ -93,6 +93,7 @@ if [ $SIMULATION == 1 ]; then echo "Locking screen..."; echo "Suspending computer..."; + echo "Simulation finished."; exit 1 fi