ridst returned

The rdist command script is called in the program to synchronize the updated files, I wonder whether the rdist returned can be fetched or not from the program?