Fixed typo in functions.sh.