Split up local declarations into definition and declaration to get the exit code of the command substitution. With `err_return` the function now aborts early if `$mount_point` couldn't be set properly.
/usr/bin/env
grep
~/media/