Update rt_functions.sh

Corrected the password gen script