opnsense-ports/sysutils/flyback/files/patch-flyback.py
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

10 lines
444 B
Python

--- flyback.py.orig 2007-11-15 07:22:16.000000000 +0100
+++ flyback.py 2008-01-21 22:17:40.000000000 +0100
@@ -592,6 +592,7 @@
stdin, stdout = os.popen4('crontab -l')
for line in stdout:
if line.startswith('no crontab for'): continue
+ if line.startswith('crontab: no crontab for'): continue
if line.endswith('#flyback\n'): continue
existing_crons.append(line)
if c: