#!/usr/bin/env bash

foo() {
	local name=$1

	echo "hello $name"
	exit 1
}

echo 'before function'
( foo 'alice' )
echo 'after function'
