Linux Bash Script Function Return