Fixed SC2091: Remove surrounding $() to avoid executing output.
This commit is contained in:
parent
bdf4155bed
commit
67bcaea71e
|
@ -54,7 +54,7 @@ hide_output $venv/bin/pip install --upgrade \
|
||||||
# Create a backup directory and a random key for encrypting backups.
|
# Create a backup directory and a random key for encrypting backups.
|
||||||
mkdir -p "$STORAGE_ROOT/backup"
|
mkdir -p "$STORAGE_ROOT/backup"
|
||||||
if [ ! -f "$STORAGE_ROOT/backup/secret_key.txt" ]; then
|
if [ ! -f "$STORAGE_ROOT/backup/secret_key.txt" ]; then
|
||||||
$(umask 077; openssl rand -base64 2048 > "$STORAGE_ROOT/backup/secret_key.txt")
|
umask 077; openssl rand -base64 2048 > "$STORAGE_ROOT/backup/secret_key.txt"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue