From df4917eb0b277e1a22067dce24ee5e6087a8a6d6 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Fri, 23 Feb 2018 16:37:38 -0500 Subject: [PATCH] [provisioning] exit on ctrl+c --- provision.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/provision.sh b/provision.sh index 7f586cd..b8e4e80 100755 --- a/provision.sh +++ b/provision.sh @@ -1,5 +1,6 @@ #!/bin/bash set +e +trap 'exit' INT RECIPE_PATH=${HOME}/dotfiles/recipes RECIPES=$(ls $RECIPE_PATH|grep -v '^_')