Hi,

I'm looking at someone else's code:
DD="`id $QS_USER 2>/dev/null`"


if [ "$?" -ne 0 -o "$DD" = "" ]; then
    cat<<EOF

This is supposed to check to see if a user exists (it does) then moves on.  In this
case, it says said user doesn't and exits.  I don't get it.  Why is it lying to me
like that?

Thanks

--
Assured Computing
When you need to be sure.
[EMAIL PROTECTED]
www.assuredcomp.com
Voice - 541-868-0331
FAX - 541-463-1627
Eugene, Oregon


_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to