Message ID | 1450448906-17000-4-git-send-email-jdenson@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/utils/dvb/dvbv5-zap.c b/utils/dvb/dvbv5-zap.c index 2d19d45..2d71307 100644 --- a/utils/dvb/dvbv5-zap.c +++ b/utils/dvb/dvbv5-zap.c @@ -871,7 +871,7 @@ int main(int argc, char **argv) signal(SIGTERM, do_timeout); signal(SIGINT, do_timeout); if (args.timeout > 0) { - signal(SIGINT, do_timeout); + signal(SIGALRM, do_timeout); alarm(args.timeout); }
Signal here should be SIGALRM and not SIGINT in order to call do_timeout(). Signed-off-by: Jemma Denson <jdenson@gmail.com> --- utils/dvb/dvbv5-zap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)