preventing deep sleep - see [bugs:#46]
Fixing [bugs:#46] by applying the provided patch. git-svn-id: svn+ssh://svn.code.sf.net/p/ddclient/code/trunk@154 3873ddee-7413-0410-b6c4-c2c57c1ab35a
This commit is contained in:
parent
65c6f32f57
commit
9fa0e5872b
1 changed files with 4 additions and 0 deletions
4
ddclient
4
ddclient
|
@ -733,6 +733,10 @@ do {
|
|||
|
||||
$0 = sprintf("%s - sleeping for %s seconds", $program, $left);
|
||||
$left -= sleep $delay;
|
||||
# preventing deep sleep - see [bugs:#46]
|
||||
if ($left > $daemon) {
|
||||
$left = $daemon;
|
||||
}
|
||||
}
|
||||
$caught_hup = 0;
|
||||
$result = 0;
|
||||
|
|
Loading…
Reference in a new issue