From bebba24c6a86775e5163f8f9359faf0893f3dbf3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 14 Aug 2016 02:18:58 +0200 Subject: bugfix --- .bashrc_git | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.bashrc_git') diff --git a/.bashrc_git b/.bashrc_git index 751f417..e5eaf3f 100644 --- a/.bashrc_git +++ b/.bashrc_git @@ -28,11 +28,12 @@ list_repo_files() ( esac done - eval "${cmd[@]}" + eval "${cmd[@]+"${cmd[@]}"}" ) list_repo_dirs() ( set -o errexit + set -o pipefail local terminator='\n' @@ -64,6 +65,7 @@ list_repo_dirs() ( tighten_repo_security() ( set -o errexit + set -o pipefail list_repo_files -z | xargs -0 chmod 0600 list_repo_dirs -z | xargs -0 chmod 0700 -- cgit v1.2.3