Skip to content

Commit 9d25d9f

Browse files
jackinloadupsrid
authored andcommitted
Don't exit with error when running help
Changed exit status to success when running help to help with interoperability with direnv
1 parent db46f39 commit 9d25d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nix/wrapper.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ let
5656
5757
if [ "$*" == "" ] || [ "$*" == "-h" ] || [ "$*" == "--help" ]; then
5858
showHelp
59-
exit 1
59+
exit 0
6060
else
6161
FLAKE_ROOT="''$(${lib.getExe flake-root})"
6262
export FLAKE_ROOT

0 commit comments

Comments
 (0)