Fix quoting

This commit is contained in:
Girish Ramakrishnan
2022-06-08 11:25:20 -07:00
parent 544ca6e1f4
commit 6311c78bcd
2 changed files with 3 additions and 3 deletions

View File

@@ -24,7 +24,7 @@ readonly test_file="${volume_dir}/.chown-test"
mkdir -p "${volume_dir}"
rm -f "${test_file}" # clean up any from previous run
if [[ -n "$(ls -A \"${volume_dir}\")" ]]; then
if [[ -n $(ls -A "${volume_dir}") ]]; then
echo "volume dir is not empty"
exit 2
fi