diff options
Diffstat (limited to 'lib/irb/command/force_exit.rb')
-rw-r--r-- | lib/irb/command/force_exit.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/irb/command/force_exit.rb b/lib/irb/command/force_exit.rb index c2c5542e24..14086aa849 100644 --- a/lib/irb/command/force_exit.rb +++ b/lib/irb/command/force_exit.rb @@ -8,10 +8,8 @@ module IRB category "IRB" description "Exit the current process." - def execute(*) + def execute(_arg) throw :IRB_EXIT, true - rescue UncaughtThrowError - Kernel.exit! end end end |