[NTLUG:Discuss] unary operator expected

Kyle_Davenport@compusa.com Kyle_Davenport at compusa.com
Mon Aug 28 10:03:19 CDT 2000


There's only the one line in /etc/rc.d/init.d/smb that would cause that:

[ ${NETWORKING} = "no" ] && exit 0

They could have (should have) put quotes around "${NETWORKING}" so that it would
 have parsed correctly even if it were undefined.
But they never expected it to be undefined.  Did you remove the line
"NETWORKING=yes" from /etc/sysconfig/network?

______________________________________________________




Jim Adams <jmadams at netscope.net> on 08/26/2000 07:12:44 AM

Please respond to discuss at ntlug.org

To:   discuss at ntlug.org
cc:    (bcc: Kyle Davenport/Is/Corporate/CompUSA)
Subject:  [NTLUG:Discuss] unary operator expected



Hello,
     I have seen this on my system for a while now whenever I start and stop
samba "/etc/rc.d/init.d/smb [: =: unary operator expected". All seems to be
working fine but I was just curious as to what it is. It also shows up when the
system is starting up.
Thanks










More information about the Discuss mailing list