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
On Tue, May 03, 2005 at 05:13:47PM -0600, Chris Burchell wrote:
I'm working with a script written for Linux that has the following
lines:
# Check that networking is up.
[ ${NETWORKING} = no ] exit 0
I don't think it's a Linux/BSD issue. This line won't work in sh if
NETWORKING is unset.
Clifton Royston wrote:
On Tue, May 03, 2005 at 05:13:47PM -0600, Chris Burchell wrote:
I'm working with a script written for Linux that has the following
lines:
# Check that networking is up.
[ ${NETWORKING} = no ] exit 0
I don't think it's a Linux/BSD issue. This line won't work in sh if