Lines 1-24
Link Here
|
1 |
--- fetchmailconf.py.orig 2020-01-31 20:22:54 UTC |
|
|
2 |
+++ fetchmailconf.py |
3 |
@@ -2132,10 +2132,6 @@ def copy_instance(toclass, fromdict): |
4 |
|
5 |
if __name__ == '__main__': |
6 |
|
7 |
- if "DISPLAY" not in os.environ: |
8 |
- print("fetchmailconf must be run under X") |
9 |
- sys.exit(1) |
10 |
- |
11 |
fetchmail_icon = """ |
12 |
R0lGODdhPAAoAPcAAP///wgICBAQEISEhIyMjJSUlKWlpa2trbW1tcbGxs7Ozufn5+/v7//39yEY |
13 |
GNa9tUoxKZyEe1o5KTEQAN7OxpyMhIRjUvfn3pxSKYQ5EO/Wxv/WvWtSQrVzSmtCKWspAMatnP/e |
14 |
@@ -2202,6 +2198,10 @@ fetchmailconf comes with ABSOLUTELY NO WARRANTY. This |
15 |
welcome to redistribute it under certain conditions. Please see the file |
16 |
COPYING in the source or documentation directory for details.""") |
17 |
sys.exit(0) |
18 |
+ |
19 |
+ if "DISPLAY" not in os.environ: |
20 |
+ print("fetchmailconf must be run under X") |
21 |
+ sys.exit(1) |
22 |
|
23 |
# Get client host's FQDN |
24 |
hostname = socket.gethostname() |