1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2026-01-12 22:51:27 +03:00

fix fetchmail using wrong arg for pidfile and mixing up state file (-i vs --pidfile) - see https://github.com/postfixadmin/postfixadmin/issues/681

This commit is contained in:
David Goodwin
2022-11-13 18:58:29 +00:00
parent 41614a48de
commit 78174d8f67

View File

@@ -148,7 +148,7 @@ TXT
print $file_handler $text;
close $file_handler;
$ret=`/usr/bin/fetchmail -f $filename -i $run_dir/fetchmail.pid`;
$ret=`/usr/bin/fetchmail -f $filename --pidfile $run_dir/fetchmail.pid`;
unlink $filename;