1 | --- ../../branches/devel/mondo/common/newt-specific.c 2004-09-09 09:38:52.000000000 -0700
|
---|
2 | +++ common/newt-specific.c 2004-10-02 16:51:09.881438200 -0700
|
---|
3 | @@ -423,14 +423,26 @@
|
---|
4 |
|
---|
5 | printf ("---FATALERROR--- %s\n", error_string);
|
---|
6 | system("cat /var/log/mondo-archive.log | gzip -9 > /tmp/MA.log.gz 2> /dev/null");
|
---|
7 | - printf("If you require technical support, please contact the mailing list.\n");
|
---|
8 | - printf("See http://www.mondorescue.org for details.\n");
|
---|
9 | + if (!strstr(VERSION, "cvs") && !strstr(VERSION, "svn"))
|
---|
10 | + {
|
---|
11 | + printf("Please try the snapshot (the version with 'cvs' and the date in its filename)");
|
---|
12 | + printf("to see if that fixes the problem. Please don't bother the mailing list with");
|
---|
13 | + printf("your problem UNTIL you've tried the snapshot. The snapshot contains bugfixes");
|
---|
14 | + printf("which might help you. Go to http://www.mondorescue.org/download/download.html");
|
---|
15 | + printf("For more information.\n");
|
---|
16 | + log_msg(0, "Please DON'T contact the mailing list. Try the SNAPSHOTS.");
|
---|
17 | + }
|
---|
18 | + else
|
---|
19 | + {
|
---|
20 | + printf("If you require technical support, please contact the mailing list.\n");
|
---|
21 | + printf("See http://www.mondorescue.org for details.\n");
|
---|
22 | + printf("The list's members can help you, if you attach that file to your e-mail.\n");
|
---|
23 | + }
|
---|
24 | printf("Log file: %s\n", MONDO_LOGFILE);
|
---|
25 | // printf("VERSION=%s\n", VERSION);
|
---|
26 | if (does_file_exist("/tmp/MA.log.gz"))
|
---|
27 | {
|
---|
28 | printf("FYI, I have gzipped the log and saved it to /tmp/MA.log.gz\n");
|
---|
29 | - printf("The list's members can help you, if you attach that file to your e-mail.\n");
|
---|
30 | }
|
---|
31 | printf ("Mondo has aborted.\n");
|
---|
32 | register_pid(0, "mondo"); // finish() does this too, FYI
|
---|