Skip to content

Commit

Permalink
cleaner exit on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
samdeane committed Jun 26, 2020
1 parent 123d165 commit 981d563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CommandShell/CommandShell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public struct CommandShell<Engine: CommandEngine>: ParsableCommand {
signal(SIGINT) { signal in
Logger.defaultManager.flush()
print("Interrupted by signal \(signal).")
Darwin.exit(signal)
abort()
}

do {
Expand Down

0 comments on commit 981d563

Please sign in to comment.