summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4ed1a60)
raw | patch | inline | side by side (parent: 4ed1a60)
author | Sebastian Harl <sh@tokkee.org> | |
Fri, 15 Jan 2010 09:07:39 +0000 (10:07 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Fri, 15 Jan 2010 19:03:17 +0000 (20:03 +0100) |
src/exec.c | patch | blob | history |
diff --git a/src/exec.c b/src/exec.c
index 8719201ea956fe3129561889191fddab3f047a35..3a72ebac8e9ff50d4a4e7491fb3e3e1defa4a453 100644 (file)
--- a/src/exec.c
+++ b/src/exec.c
status = getpwnam_r (pl->user, &sp, nambuf, sizeof (nambuf), &sp_ptr);
if (status != 0)
{
- ERROR ("exec plugin: getpwnam_r failed: %s",
- sstrerror (errno, errbuf, sizeof (errbuf)));
+ ERROR ("exec plugin: Failed to get user information for user ``%s'': %s",
+ pl->user, sstrerror (errno, errbuf, sizeof (errbuf)));
exit (-1);
}
if (sp_ptr == NULL)
status = getgrnam_r (pl->group, &gr, nambuf, sizeof (nambuf), &gr_ptr);
if (0 != status)
{
- ERROR ("exec plugin: getgrnam_r failed: %s",
+ ERROR ("exec plugin: Failed to get group information "
+ "for group ``%s'': %s", pl->group,
sstrerror (errno, errbuf, sizeof (errbuf)));
exit (-1);
}
status = execvp (pl->exec, pl->argv);
- ERROR ("exec plugin: exec failed: %s",
- sstrerror (errno, errbuf, sizeof (errbuf)));
+ ERROR ("exec plugin: Failed to execute ``%s'': %s",
+ pl->exec, sstrerror (errno, errbuf, sizeof (errbuf)));
exit (-1);
} /* void exec_child }}} */