summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-05-13 14:44:21 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-05-13 14:44:21 +0000
commit73d25045f5a13101ded64db45eefefc260d3b397 (patch)
tree5db623c5c2c77a8d8a5fc3d5f280bdcc16ab9a27
parentbb4c595810ccd9b849be2d20f5c16d6076d083bb (diff)
Logging
-rw-r--r--src/httrack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/httrack.c b/src/httrack.c
index cef7c89..3d4e8fb 100644
--- a/src/httrack.c
+++ b/src/httrack.c
@@ -786,6 +786,7 @@ static void sig_leave( int code ) {
printf("\n** Finishing pending transfers.. press again ^C to quit.\n");
if (global_opt != NULL) {
// ask for stop
+ hts_log_print(opt, LOG_ERROR, "Exit requested by shell or user");
global_opt->state.stop=1;
}
} else {