Skip to content

Commit 21f162b

Browse files
authored
Resolve error with this condition having a case that is always true or false
1 parent 2854440 commit 21f162b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ fn main() -> Result<(), failure::Error> {
264264

265265
loop {
266266
check_ips_and_update_dns(&user, &api_key, &hosts_vec, &zones_vec, ipv4, ipv6)?;
267-
if repeat_interval <= 0 {
267+
if repeat_interval == 0 {
268268
break;
269269
}
270270
println!(

0 commit comments

Comments
 (0)