Fix sleep can be zero

This commit is contained in:
Ilia Ross
2026-07-03 12:47:25 +02:00
parent e84e4c3fe6
commit a66b142c5b
+1 -1
View File
@@ -88,6 +88,6 @@ else {
}
&unlock_file(&bind8::make_chroot($file));
die $err if ($err);
sleep($config{'letsencrypt_dns_wait'} || 10); # Wait for DNS propagation
sleep($config{'letsencrypt_dns_wait'} // 10); # Wait for DNS propagation
&webmin_log("letsencryptdns", undef, $dname);
exit(0);