Skip to content

Commit 6892311

Browse files
committed
Use System.halt instead of :erlang.halt
1 parent 865608b commit 6892311

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/iex/lib/iex.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,11 +237,11 @@ defmodule IEx do
237237
rescue
238238
exception ->
239239
Util.print_exception(exception)
240-
:erlang.halt()
240+
System.halt(1)
241241
catch
242242
kind, error ->
243243
Util.print_error(kind, error)
244-
:erlang.halt()
244+
System.halt(1)
245245
end
246246
end
247247
end

0 commit comments

Comments
 (0)