nix(fix): Avoid losing exit trap through subcommand in postgrest-with-all

This commit is contained in:
Wolfgang Walther
2021-04-18 13:51:39 +02:00
committed by Wolfgang Walther
parent c8edfac39e
commit c2df7d8198
+1 -1
View File
@@ -45,7 +45,7 @@ let
trap 'echo "Failed on ${pg.name}"' exit
${withTmpDb pg} "$_arg_command" "''${_arg_leftovers[@]}"
(${withTmpDb pg} "$_arg_command" "''${_arg_leftovers[@]}")
trap "" exit