Merge pull request #2752 from sferik/patch-1
core: replace `exit 1` with `abort`
This commit is contained in:
commit
0ee22aa6d1
|
@ -3,7 +3,7 @@
|
||||||
# Trap interrupts to quit cleanly. This will be overriden at some point
|
# Trap interrupts to quit cleanly. This will be overriden at some point
|
||||||
# by Vagrant. This is made to catch any interrupts while Vagrant is
|
# by Vagrant. This is made to catch any interrupts while Vagrant is
|
||||||
# initializing which have historically resulted in stack traces.
|
# initializing which have historically resulted in stack traces.
|
||||||
Signal.trap("INT") { exit 1 }
|
Signal.trap("INT") { abort }
|
||||||
|
|
||||||
# Split arguments by "--" if its there, we'll recombine them later
|
# Split arguments by "--" if its there, we'll recombine them later
|
||||||
argv = ARGV.dup
|
argv = ARGV.dup
|
||||||
|
|
Loading…
Reference in New Issue