#43 Patch: prevent multiple calls of postscript

3.8
new
wimpunk
ddclient
major
svn
defect
2011-06-10
2011-06-10
honker
No

Hello,
I don't know, wether it is a bug or a feature. If you are updating with multiple protocols, postscript is called one time for every protocol.
This could cause heavy problems, if the script is running more than once at the same time.
I have attached a patch that make the postscript run only one time. Parameter is a list of updated IPs, separated by spaces, just like before, but I have eliminated duplicated IPs.
Perhaps you find this useful.

greetings,
Achim

PS: I'm just working on a shellscript for updating zonefiles, if anyone is interested.

1 Attachments

Discussion

  • honker
    honker
    2011-06-10