summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glusterfsd/src/glusterfsd.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index 332f8f3a7..10ed33109 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -681,9 +681,7 @@ cleanup_and_exit (int signum)
while (trav) {
if (trav->fini) {
THIS = trav;
- gf_log ("", GF_LOG_NORMAL, "Calling fini for %s", trav->name);
trav->fini (trav);
- gf_log ("", GF_LOG_NORMAL, "Done Calling fini for %s", trav->name);
}
trav = trav->next;
}
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 177322937..923dbc67e 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -801,7 +801,8 @@ glusterd_service_stop (const char *service, char *pidfile, int sig,
ret = kill (pid, SIGKILL);
if (ret) {
gf_log ("", GF_LOG_ERROR, "Unable to "
- "kill pid %d", pid);
+ "kill pid %d reason: %s", pid,
+ strerror(errno));
goto out;
}
ret = unlink (pidfile);