add bash functions exitstatus