iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes for buster linode
[distro-setup]
/
switch-mail-host
diff --git
a/switch-mail-host
b/switch-mail-host
index f26b945bea1a1b139a1232e08942fe8192f7a1af..15986953039ea2ae002af37006d2dcb72045adc0 100644
(file)
--- a/
switch-mail-host
+++ b/
switch-mail-host
@@
-26,10
+26,10
@@
restore_new_btrbk=false
restore_old_btrbk=false
cleanup() {
if $restore_new_btrbk; then
restore_old_btrbk=false
cleanup() {
if $restore_new_btrbk; then
- $new_shell sudo systemctl start btrbk.timer
+
m
$new_shell sudo systemctl start btrbk.timer
fi
if $restore_old_btrbk; then
fi
if $restore_old_btrbk; then
- $old_shell sudo systemctl start btrbk.timer
+
m
$old_shell sudo systemctl start btrbk.timer
fi
}
_errcatch_cleanup=cleanup # used by sourced err
fi
}
_errcatch_cleanup=cleanup # used by sourced err