ddclient/ddclient-delay-main-process-for-systemd.patch
2022-07-12 20:16:31 +00:00

13 lines
321 B
Diff

Index: ddclient
===================================================================
--- ddclient.orig
+++ ddclient
@@ -847,6 +847,7 @@ if (opt('foreground') || opt('force')) {
print STDERR "${program}: can not fork ($!)\n";
exit -1;
} elsif ($pid) {
+ sleep(1);
exit 0;
}
$SIG{'CHLD'} = 'DEFAULT';