commit 741ee0606d79dc812ff73307a652506968e690b1 parent 72f9122c48942b05f5dc71a670624dd9e1d1270d Author: Antoine Amarilli <a3nm@a3nm.net> Date: Fri, 16 Aug 2019 11:52:56 +0200 fail if a command fails Diffstat:
git-gc-all | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/git-gc-all b/git-gc-all @@ -1,5 +1,7 @@ #!/bin/bash +set -e + cd "$HOME/git" for a in *; do