meta:archive: Keep tars exit code on failure

This commit is contained in:
2022-03-31 03:06:03 +02:00
parent fa8a6b10fa
commit 81c07bd3cf

View File

@@ -14,7 +14,8 @@ else
rm -rf "$tmpd"
echo "$name created"
else
errc=$?
echo "Archive could not be created. See $tmpd."
exit 1
exit $errc
fi
fi