From 11f501af4f3133bdec5c9c04bdcb78b837f7b7c0 Mon Sep 17 00:00:00 2001 From: J Yegerlehner Date: Fri, 21 Aug 2015 00:06:47 -0500 Subject: [PATCH] Correct error message wording. --- src/caffe/util/signal_handler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/caffe/util/signal_handler.cpp b/src/caffe/util/signal_handler.cpp index a2b831bc6a5..5d764ec524f 100644 --- a/src/caffe/util/signal_handler.cpp +++ b/src/caffe/util/signal_handler.cpp @@ -56,10 +56,10 @@ namespace { sigfillset(&sa.sa_mask); // Intercept SIGHUP and SIGINT if (sigaction(SIGHUP, &sa, NULL) == -1) { - LOG(FATAL) << "Cannot install SIGHUP handler."; + LOG(FATAL) << "Cannot uninstall SIGHUP handler."; } if (sigaction(SIGINT, &sa, NULL) == -1) { - LOG(FATAL) << "Cannot install SIGINT handler."; + LOG(FATAL) << "Cannot uninstall SIGINT handler."; } already_hooked_up = false;