mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-22 00:04:20 +01:00
fix getmail patch
Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
parent
7011cf1eb3
commit
fc436782e7
|
@ -11,13 +11,13 @@ index 7143886..e94ba0d 100755
|
|||
raise getmailConfigurationError(
|
||||
'%s: specified file "%s" does not exist' % (self.name, val)
|
||||
)
|
||||
@@ -473,4 +473,4 @@ class ForkingBase(object):
|
||||
@@ -473,7 +473,7 @@ class ForkingBase(object):
|
||||
stdout, stderr, args, nolog=False):
|
||||
self._pipemail(msg, delivered_to, received, unixfrom, stdout, stderr)
|
||||
nolog or self.log.debug('about to execl() with args %s\n' % str(args))
|
||||
- os.execl(*args)
|
||||
+ os.execlp(*args)
|
||||
|
||||
|
||||
def forkchild(self, childfun, with_out=True):
|
||||
self.child = child = Namespace()
|
||||
diff --git a/getmailcore/destinations.py b/getmailcore/destinations.py
|
||||
|
@ -56,7 +56,7 @@ index e118e8e..014970a 100755
|
|||
if type(self.conf['arguments']) != tuple:
|
||||
raise getmailConfigurationError(
|
||||
'incorrect arguments format; see documentation (%s)'
|
||||
@@ -332,9 +332,9 @@ class Filter_TMDA(FilterSkeleton, ForkingBase):
|
||||
@@ -332,10 +332,10 @@ class Filter_TMDA(FilterSkeleton, ForkingBase):
|
||||
def initialize(self):
|
||||
self.log.trace()
|
||||
self.conf['command'] = os.path.basename(self.conf['path'])
|
||||
|
@ -70,3 +70,4 @@ index e118e8e..014970a 100755
|
|||
+ # )
|
||||
self.exitcodes_keep = (0, )
|
||||
self.exitcodes_drop = (99, )
|
||||
|
||||
|
|
Loading…
Reference in a new issue