unary operator expected
Chris Burchell
cburchell at muttart.org
Tue May 3 16:13:53 PDT 2005
Hello:
I'm working with a script written for Linux that has the following
lines:
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
Everything else in the script works okay, but this one bombs with the
following error:
line 35: [: =: unary operator expected
Can anyone help with suggestions or an alternate statement that will
work on FreeBSD 5.3-RELEASE?
Thanks,
Chris
More information about the freebsd-questions
mailing list