Skip to content

Commit d3b38fb

Browse files
committed
Fix halt for --version
1 parent 2efc1e5 commit d3b38fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/kernel/cli.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ defmodule Kernel.CLI do
236236
end
237237

238238
t != [] && warn_standalone(opt)
239-
System.halt(1)
239+
System.halt(0)
240240
end
241241

242242
defp parse_shared(["-pa", h | t], config) do

0 commit comments

Comments
 (0)