From a001b95d7d9d6bc24ea6af0c5f1ba92c6b8d5000 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Mon, 23 Jan 2017 09:16:57 +0200 Subject: [PATCH] Reset time counter after user interaction --- files/rm-progress | 1 + 1 file changed, 1 insertion(+) diff --git a/files/rm-progress b/files/rm-progress index 0fbba69..45dbcc2 100755 --- a/files/rm-progress +++ b/files/rm-progress @@ -75,6 +75,7 @@ if [[ $FORCE -eq 0 ]]; then echo ' to quit' read foo fi +SECONDS=0 deletefiles "${FOLDERS[@]}" if [[ "$NOCOUNT" -ne 1 ]]; then listfolders "${FOLDERS[@]}"