linux shell script function return value