From 0d3fcd30ebd2bea22b93144bf4b701e0c81b93a7 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Mon, 12 Oct 2015 21:42:19 +0200 Subject: [PATCH] Added set -e --- bspwm/.config/scripts/dmenu_run.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bspwm/.config/scripts/dmenu_run.sh b/bspwm/.config/scripts/dmenu_run.sh index 743c068..3c9bf01 100755 --- a/bspwm/.config/scripts/dmenu_run.sh +++ b/bspwm/.config/scripts/dmenu_run.sh @@ -1,4 +1,7 @@ #!/bin/sh + +set -e + cachedir=${XDG_CACHE_HOME:-"$HOME/.cache"} if [ -d "$cachedir" ]; then cache=$cachedir/dmenu_run