modified error handling methods
[feisty_meow.git] / scripts / customize / fred / scripts / refred.sh
index a026b4c61babde3aafc9a13214f3b0d80c76f492..65f9c35c7d5513bf75486bd71d1fe36db0f24724 100644 (file)
@@ -11,10 +11,10 @@ function do_refred()
 # than when it's just being sourced.
 if [[ $0 =~ .*refred\.sh.* ]]; then
   source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
-  test_or_die "sourcing the feisty meow environment"
+  exit_on_error "sourcing the feisty meow environment"
   source "$FEISTY_MEOW_SCRIPTS/security/cool_permissionator.sh"
-  test_or_die "sourcing the permission script"
+  exit_on_error "sourcing the permission script"
   do_refred
-  test_or_die "refredding process"
+  exit_on_error "refredding process"
 fi