1 |
slords |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-support-1.6.0/root/sbin/e-smith/statusreport mezzanine_patched_smeserver-support-1.6.0/root/sbin/e-smith/statusreport |
2 |
|
|
--- smeserver-support-1.6.0/root/sbin/e-smith/statusreport 2006-05-23 17:25:33.063219501 +1000 |
3 |
|
|
+++ mezzanine_patched_smeserver-support-1.6.0/root/sbin/e-smith/statusreport 2006-05-23 17:24:10.842389632 +1000 |
4 |
|
|
@@ -60,15 +60,6 @@ |
5 |
|
|
$response = $ua->get($url); |
6 |
|
|
}; |
7 |
|
|
|
8 |
|
|
-if ($response->is_success) |
9 |
|
|
-{ |
10 |
|
|
- exit 0; |
11 |
|
|
-} |
12 |
|
|
-else |
13 |
|
|
-{ |
14 |
|
|
- warn gettext("Response to Internet test was"), ": ", |
15 |
|
|
- $response->message, |
16 |
|
|
- "\n"; |
17 |
|
|
+exit 0 if ($response->is_success); |
18 |
|
|
|
19 |
|
|
- exit 1; |
20 |
|
|
-} |
21 |
|
|
+exit 1; |