in reply to Script to Notify of Public IP Change
Well, it looks as thoough there is no provision for the wget to fail; I suspect that when it does fail it doesn't return a valid IP address! :-)
The simple answer is that you could have it simply not perform any action if the ip returned from the wget is blank, or even does not match a regex.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Script to Notify of Public IP Change
by Arkevius (Initiate) on Nov 29, 2012 at 16:19 UTC |