We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3ee633 commit 9b9a1c2Copy full SHA for 9b9a1c2
root/etc/s6-overlay/s6-rc.d/init-device-perms/run
@@ -1,7 +1,7 @@
1
#!/usr/bin/with-contenv bash
2
# shellcheck shell=bash
3
4
-if [[ -z ${LSIO_NON_ROOT_USER} ]]; then
+if [[ -z ${LSIO_NON_ROOT_USER} ]] && [[ -n ${ATTACHED_DEVICES_PERMS} ]]; then
5
FILES=$(find ${ATTACHED_DEVICES_PERMS} -print 2>/dev/null)
6
7
for i in ${FILES}; do
0 commit comments