gandyn icon indicating copy to clipboard operation
gandyn copied to clipboard

Return value $? = 0 with Connection Refused

Open benjiprod opened this issue 11 years ago • 0 comments

Hi, I know when exactly my IP address change but sometimes gandyn can't connect to my DNS area. $ tail gandyn.log An error occured retrieving public IP address : URLError(ConnectionRefusedError(111, 'Connection refused'),)

I want to make a script to run again gandyn when it display ConnectionRefused but the return value is OK $ echo $? 0

Why did I get '0' as no error when gandyn.log displays 'ConnectionRefusedError' ?

benjiprod avatar Dec 24 '14 18:12 benjiprod