]> arthur.barton.de Git - backup-script.git/commitdiff
Delay script exit for 3 seconds on abort
authorAlexander Barton <alex@barton.de>
Wed, 29 Jul 2015 10:57:20 +0000 (12:57 +0200)
committerAlexander Barton <alex@barton.de>
Wed, 29 Jul 2015 10:57:20 +0000 (12:57 +0200)
This allows things (like the rsync server process) to settle a
little bit ...

bin/backup-script

index 5df6c6710bd58d1a803c31262785f6ca8690bad2..d28caafbc8264f5a0c89149853cd3299966c1b2c 100755 (executable)
@@ -72,6 +72,7 @@ GotSignal() {
        CleanUp
        echo -n "Aborted: "; date
        echo
+       sleep 3
        exit 9
 }