summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/dload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index cca39470..00993910 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -585,7 +585,7 @@ cleanup:
unmask_signal(SIGINT, &orig_sig_int);
unmask_signal(SIGPIPE, &orig_sig_pipe);
/* if we were interrupted, trip the old handler */
- if(dload_interrupted) {
+ if(dload_interrupted == ABORT_SIGINT) {
raise(SIGINT);
}