Hi,
Hope someone can help me out
CurrentSmartHost=`config show SMTPSmartHost | cut -f2 -d'='`
config show SMTPSmartHost
if [ -n $CurrentSmartHost ] ; then
echo Smart Host Set
else
echo Smart Host not set
fi
With SMTPSmartHost not set, the -n test keeps coming back true...
Can someone tell me why?
Thanks,
Alex