The return value from programs is an integer between 0 and 255, and 1 should be used as "generic error". Fix the return value.