Reset time counter after user interaction

This commit is contained in:
Ville Rantanen
2017-01-23 09:16:57 +02:00
parent 3ca0dbce8d
commit a001b95d7d

View File

@@ -75,6 +75,7 @@ if [[ $FORCE -eq 0 ]]; then
echo '<ctrl-c> to quit' echo '<ctrl-c> to quit'
read foo read foo
fi fi
SECONDS=0
deletefiles "${FOLDERS[@]}" deletefiles "${FOLDERS[@]}"
if [[ "$NOCOUNT" -ne 1 ]]; then if [[ "$NOCOUNT" -ne 1 ]]; then
listfolders "${FOLDERS[@]}" listfolders "${FOLDERS[@]}"