c0e850f52e
fix for boo#1191885, merge prepare for SLES maintained pkg OBS-URL: https://build.opensuse.org/request/show/988707 OBS-URL: https://build.opensuse.org/package/show/network/ddclient?expand=0&rev=62
13 lines
321 B
Diff
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';
|