Hmmm, I'm pretty sure InStr returns 0 if the string is not found and 1+ if found, but whatever works for you. Also, since ss.exe returns exit code 100 for just about every error, just marking the step to continue on failure and not build failure steps is about the same difference (you can get fancier and parse the output for certain error strings if you're really particular).
|