fix(release): fail closed on backup client setup
This commit is contained in:
@@ -671,7 +671,8 @@ def object_storage_mirror_command(
|
||||
"/bin/sh",
|
||||
values["MINIO_MC_IMAGE"],
|
||||
"-ec",
|
||||
"""umask 077
|
||||
"""set -eu
|
||||
umask 077
|
||||
mkdir -p "$HOME/.config/rc" /backup/minio
|
||||
cat > "$HOME/.config/rc/config.toml"
|
||||
exec rc --no-color --no-progress mirror --overwrite "$1" "$2"
|
||||
|
||||
Reference in New Issue
Block a user