Update 2 files
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 13s
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 13s
This commit is contained in:
@@ -17,6 +17,10 @@ if [ "$PRIVILEGED_MODE" = "true" ]; then
|
||||
DEVICE_ARGS="--privileged"
|
||||
else
|
||||
for dev in $DEVICES; do
|
||||
# Auto-prepend /dev/ if not already a path
|
||||
if [[ "$dev" != /* ]]; then
|
||||
dev="/dev/$dev"
|
||||
fi
|
||||
if [ -e "$dev" ]; then
|
||||
DEVICE_ARGS="$DEVICE_ARGS --device=$dev"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user