+
+ if ! $mail_only && ! $pull_reexec ; then
+ if ! $force; then
+ if ! $old_shell switch-mail-host --check-installed; then
+ die "failed: $old_shell switch-mail-host --check-installed"
+ fi
+ fi
+ tmpf=$(mktemp)
+ m scp -F $HOME/.ssh/confighome root@$old_host:/usr/local/bin/switch-mail-host $tmpf
+ if ! diff -q $tmpf ${BASH_SOURCE[0]}; then
+ e "found different version on old_host=$old_hostname, reexecing"
+ m install -T $tmpf /usr/local/bin/switch-mail-host
+ m /usr/local/bin/switch-mail-host --pull-reexec "${orig_args[@]}"
+ exit 0
+ fi
+ fi
+