Skip to content

Commit

Permalink
Change fail check
Browse files Browse the repository at this point in the history
  • Loading branch information
kip93 committed May 16, 2022
1 parent a6dc5a7 commit 252b6e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/nix-logic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ with pkgs; writeScript "nix-logic" ''
trap '"'"'
XC=$?;
${coreutils}/bin/printf "\033[3;%sm%s\033[0m\n" "$([ ''${XC} -eq 0 ] && ${coreutils}/bin/printf 32 || ${coreutils}/bin/printf 31)" "{}";
[ ''${XC} -ne 0 ] && ${coreutils}/bin/cat "''${OUTPUT}" >&2;
[ -e "''${OUTPUT}" ] && ${coreutils}/bin/cat "''${OUTPUT}" >&2;
${coreutils}/bin/rm -rf -- "''${WORKDIR}";
exit ''${XC};
'"'"' EXIT INT QUIT TERM
Expand Down

0 comments on commit 252b6e9

Please sign in to comment.