diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/directive.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/directive.c b/src/directive.c index f648e07..3d70fa8 100644 --- a/src/directive.c +++ b/src/directive.c @@ -522,26 +522,26 @@ run_check_script (const char *script, struct file_triplet *trp, status = WEXITSTATUS (status); if (status) { - logmsg (LOG_ERR, "%s for triplet %s, spool %s returned %d", + logmsg (LOG_ERR, "%s for %s@%s returned %d", descr, trp->name, trp->spool->tag, status); return 1; } else if (debug_level > 2) - logmsg (LOG_DEBUG, "%s for triplet %s, spool %s returned %d", + logmsg (LOG_DEBUG, "%s for %s@%s returned %d", descr, trp->name, trp->spool->tag, status); } else if (WIFSIGNALED (status)) { int sig = WTERMSIG (status); logmsg (LOG_NOTICE, - "%s for triplet %s, spool %s terminated on signal %d", + "%s for %s@%s terminated on signal %d", descr, trp->name, trp->spool->tag, sig); return 1; } else { logmsg (LOG_NOTICE, - "%s for triplet %s, spool %s terminated with unhandled status", + "%s for %s@%s terminated with unhandled status", descr, trp->name, trp->spool->tag); return 1; } |