minor improvements
[distro-setup] / btrbk-run
index f0f16bda44f3013bc48ec4ed10c1c1955cbd8d9c..59631fdd75efbad9f54733a08b22975e5b5712c8 100644 (file)
--- a/btrbk-run
+++ b/btrbk-run
@@ -105,7 +105,8 @@ if ! $pull_reexec && [[ $source ]]; then
   if diff -q $tmpf $BASH_SOURCE; then
     echo "$0: found newer version on host $source. reexecing"
     install -T $tmpf /usr/local/bin/btrbk-run
-    /usr/local/bin/btrbk-run --pull-reexec "${orig_args[@]}"
+    m /usr/local/bin/btrbk-run --pull-reexec "${orig_args[@]}"
+    exit
   fi
 fi