hcoop-backup: Try to make xargs die if an error occurred.
[clinton/scripts.git] / hcoop-backup
index 934c257..9ce8a34 100755 (executable)
@@ -146,7 +146,7 @@ vos listvol deleuze | \
 cat volumes | \
   grep -v not-backed-up | \
   xargs -I{} -d\\n -- \
-  bash -c \
+  bash -e -c \
     "F={}.dump$COMPRESS_EXT.aescrypt ;
      vos dump -id {} -localauth -clone |
        $COMPRESS_PROG | ccrypt -k $KEYFILE -e |