Skip to content
Snippets Groups Projects
Commit 80a06664 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[hdrck] quit when Ctrl+C is pressed

Sys.cmd is called _very_ often and thousands of times; whenever a Ctrl+C
is pressed while inside a subcommand, it returns a non-zero code. But
in many loops, a message is emitted and nothing else, so hdrck continues on
and on. Besides, the Ctrl+C leads to spurious "invalid header" messages at the
end, because of that. The fix simply makes the program terminate.
parent 1b16ab8f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment