diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2016-08-14 02:18:58 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2016-08-14 02:18:58 +0200 |
commit | bebba24c6a86775e5163f8f9359faf0893f3dbf3 (patch) | |
tree | 1d1faf468c66aea23390d0d78924917bdbb09be2 /.bashrc_git | |
parent | export SHELLOPTS (diff) | |
download | linux-home-bebba24c6a86775e5163f8f9359faf0893f3dbf3.tar.gz linux-home-bebba24c6a86775e5163f8f9359faf0893f3dbf3.zip |
bugfix
Diffstat (limited to '')
-rw-r--r-- | .bashrc_git | 4 |
1 files changed, 3 insertions, 1 deletions
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 |