diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-05-17 16:34:09 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-05-17 16:34:09 +0300 |
commit | bb2c9e35cd16f12ec085a4ab46b7744a556a7f1a (patch) | |
tree | 0f8d9ef2ed37e1e99813ed83b25969ea503689ef /backup.in | |
parent | cf48db9c8a4eb204af72363040e9adc4b1945dca (diff) | |
download | beam-bb2c9e35cd16f12ec085a4ab46b7744a556a7f1a.tar.gz beam-bb2c9e35cd16f12ec085a4ab46b7744a556a7f1a.tar.bz2 |
Minor fixes.
* backup.in: Set and restore traps.
* restore.in: Restore trap after executing epilogue_hook.
Diffstat (limited to 'backup.in')
-rw-r--r-- | backup.in | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -95,6 +95,7 @@ fi logit "started" $prologue_hook +test -z "$epilogue_hook" && trap "$epilogue_hook" EXIT INT QUIT TERM for item in $backup_items do @@ -103,6 +104,7 @@ do done $epilogue_hook +trap '' EXIT INT QUIT TERM logit "finished" |