[PLUG] Need Explanation of BASH Script Error

Rich Shepard rshepard at appl-ecosys.com
Sat Feb 18 17:01:24 UTC 2012


On Sat, 18 Feb 2012, Russell Johnson wrote:

> Assuming the /home/rshepard/CURRENTIP file exists, then I would assume
> curl was unable to connect to the URL given. This would cause $NEWIP to
> not be set, and the test condition to fail.

Russell,

   OK. CURRENTIP does exist. Even if curl could not connect to the URL why
generate an error message about expecting a unary operator for the !=?

Rich




More information about the PLUG mailing list