aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-08-05 10:38:32 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2010-08-05 10:38:32 +0300
commitafe0fcc39eca699ce3536bdc497b0d07b123fcf5 (patch)
treea4f7be1ee86bab3f5356e62f0393c277e7c4350b
parent7d9cc74142bd638459739b77e12bc6f14acb5c21 (diff)
downloadmailfromd-afe0fcc39eca699ce3536bdc497b0d07b123fcf5.tar.gz
mailfromd-afe0fcc39eca699ce3536bdc497b0d07b123fcf5.tar.bz2
Minor fix.
* mfd/engine.c (check_pidfile): Use `name' argument, not `pidfile' global.
-rw-r--r--mfd/engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mfd/engine.c b/mfd/engine.c
index 8e539de4..bce58ebd 100644
--- a/mfd/engine.c
+++ b/mfd/engine.c
@@ -941,7 +941,7 @@ check_pidfile(char *name)
}
}
fclose(fp);
- if (unlink(pidfile)) {
+ if (unlink(name)) {
mu_error(_("cannot unlink pidfile `%s': %s"),
name, mu_strerror(errno));
exit(EX_USAGE);

Return to:

Send suggestions and report system problems to the System administrator.