diff options
| author | Christian Hesse <mail@eworm.de> | 2017-06-14 11:20:37 +0200 |
|---|---|---|
| committer | Christian Hesse <mail@eworm.de> | 2017-06-14 11:20:37 +0200 |
| commit | f0c5bfe978c1ffe1024f0cf594c971f5bcc30630 (patch) | |
| tree | 8c684ffc7d05d87be3d7aa7a829ccff60ed6469d | |
| parent | 081d99dda082a360dad367e8e2cc036a738edca5 (diff) | |
| download | vis-f0c5bfe978c1ffe1024f0cf594c971f5bcc30630.tar.gz vis-f0c5bfe978c1ffe1024f0cf594c971f5bcc30630.tar.xz | |
single: ignore SIGINT in self-extracting process
| -rw-r--r-- | vis-single.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vis-single.c b/vis-single.c index d8653c9..8e06de5 100644 --- a/vis-single.c +++ b/vis-single.c @@ -129,6 +129,8 @@ int main(int argc, char **argv) { return EXIT_FAILURE; } + signal(SIGINT, SIG_IGN); + for (;;) { int status; int w = waitpid(child_pid, &status, 0); |
