Quote a few variables to avoid triggering SC2086 in future
See: https://github.com/koalaman/shellcheck/wiki/SC2086
This commit is contained in:
parent
89bb7f62b1
commit
db62b8bc7a
1 changed files with 2 additions and 2 deletions
4
toolbox
4
toolbox
|
@ -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=$?
|
||||
|
||||
|
|
Loading…
Reference in a new issue