Skip to content

Commit

Permalink
Don't exit with error when running help
Browse files Browse the repository at this point in the history
Changed exit status to success when running help to help with interoperability with direnv
  • Loading branch information
jackinloadup authored and srid committed Jul 28, 2023
1 parent db46f39 commit 9d25d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix/wrapper.nix
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ let
if [ "$*" == "" ] || [ "$*" == "-h" ] || [ "$*" == "--help" ]; then
showHelp
exit 1
exit 0
else
FLAKE_ROOT="''$(${lib.getExe flake-root})"
export FLAKE_ROOT
Expand Down

0 comments on commit 9d25d9f

Please sign in to comment.