mostly fixes for new error handling
[distro-setup] / mail-route
index 332f1edbf592728bd916dedb2816c50b3c67c20a..2dc237da63c3b563716d1c9616e5d07c1ebb4a63 100755 (executable)
@@ -60,7 +60,7 @@ up() {
     fi
   fi
   e() { echo "$0: $*"; "$@"; }
-  _errcatch_cleanup=stop
+  errcatch-cleanup() { stop; }
   modify
   # we leave it as is even when stopping, because we would like it to be default, but the only way
   # to change the default is for every device, and I want to avoid that, even though I wouldn't mind, others users of this script might.