Quote a few variables to avoid triggering SC2086 in future

See: https://github.com/koalaman/shellcheck/wiki/SC2086
This commit is contained in:
Debarshi Ray 2019-05-15 17:26:16 +02:00
parent 89bb7f62b1
commit db62b8bc7a

View file

@ -937,7 +937,7 @@ create()
--pid host \
--privileged \
--security-opt label=disable \
--tmpfs /dev/shm:size=$tmpfs_size \
--tmpfs /dev/shm:size="$tmpfs_size" \
--uidmap "$user_id_real":0:1 \
--uidmap 0:1:"$user_id_real" \
--uidmap "$uid_plus_one":"$uid_plus_one":"$max_minus_uid" \
@ -956,7 +956,7 @@ create()
--volume /mnt:/mnt:rslave \
--volume /run/media:/run/media:rslave \
--workdir "$HOME" \
$toolbox_image \
"$toolbox_image" \
sleep +Inf >/dev/null 2>&3
ret_val=$?