return 0 when Last IP same as current, instead of return 1

This commit is contained in:
Jianfeng Wang committed 2021-03-01 09:30:42 +08:00
1 parent c365781834
commit a90c8366bb
1 file changed
+1 -1
+1 -1
View File
@@ -236,7 +236,7 @@ arDdnsCheck() {
fi
fi
echo "Last IP is the same as current IP!"
return 1
return 0
fi
echo "$lastIP"