X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=switch-mail-host;h=15986953039ea2ae002af37006d2dcb72045adc0;hp=f26b945bea1a1b139a1232e08942fe8192f7a1af;hb=6459d4698ef983f7b1540589b87013c76913393d;hpb=b1c29177fe76f8f2a557f7f36c987df3ef2a6cb4 diff --git a/switch-mail-host b/switch-mail-host index f26b945..1598695 100644 --- 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 - $new_shell sudo systemctl start btrbk.timer + m $new_shell sudo systemctl start btrbk.timer 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