[ic] Usertag return value

Grant emailgrant at gmail.com
Thu Feb 5 18:47:10 UTC 2009

I have a usertag that takes an image, resizes it, and writes it to the
filesystem.  It then does this two more times for two more sizes.  It
appears to be returning 0 if the last attempt at resizing and writing
was unsuccessful and 1 if it was successful, regardless of how things
went with the other two resizings and writings.  I tried appending the
writings with:

|| die "0";

but that kills the whole page.  What is the correct way to do this so
I can evaluate whether or not the tag executed properly?

- Grant

More information about the interchange-users mailing list