shell script function return value