This commit is contained in:
2023-04-30 14:40:22 -07:00
parent c56139d360
commit 8cca3ec3b9
2 changed files with 2 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
#!/bin/bash
ARGS="$@"
set -o pipefail
exec 5>&1
OUTPUT=$(bash -c "butler $ARGS" | tee /dev/fd/5)
RESULT=$?

View File

@@ -1,6 +1,7 @@
#!/bin/sh
ARGS="$@"
set -o pipefail
MC_CONFIG_DIR="/root/.mc"
mkdir -p "$MC_CONFIG_DIR"