aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-08-10 19:07:52 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-08-10 19:07:52 +0000
commit175f28517a60661d089a4380372e626f1bff0e80 (patch)
tree12cf199027971f2f6584abf7ddf05ef25b127d4e
parent15e15bff7610cb2600e7c198a5da10555cd3398a (diff)
downloadfetchmail-175f28517a60661d089a4380372e626f1bff0e80.tar.gz
fetchmail-175f28517a60661d089a4380372e626f1bff0e80.tar.bz2
fetchmail-175f28517a60661d089a4380372e626f1bff0e80.zip
Add uname -a to debugging output.
svn path=/trunk/; revision=1259
-rw-r--r--fetchmail.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 27960e3c..172abc99 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -118,8 +118,13 @@ int main (int argc, char **argv)
setvbuf(stdout, NULL, _IOLBF, POPBUFSIZE);
if (versioninfo)
+ {
printf("This is fetchmail release %s\n", RELEASE_ID);
+ /* this is an attempt to help remote debugging */
+ system("uname -a");
+ }
+
/* avoid parsing the config file if all we're doing is killing a daemon */
if (!quitmode)
implicitmode = load_params(argc, argv, optind);