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:
wimpunk 2013-10-28 21:37:16 +00:00
parent 65c6f32f57
commit 9fa0e5872b

View file

@ -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;