smart channel --show doesn't return proper code

Grant McWilliams grantmasterflash at gmail.com
Fri May 4 11:51:59 PDT 2007


When I do smart channel --show <channelname> and the channel doesn't
exist shouldn't smart return a 1 instead of a 0? It seems to be
returning 0's for everything.

I have  a script that checks to see if a channel has already been
added and if not adds it. We're having to take the output of channel
--show and grep it instead of relying on the return code. Am I off on
this or maybe not understanding why smart channel --show always
returns a 0 return code?

Grant



More information about the Smart mailing list