Silence SC2153
Otherwise https://www.shellcheck.net/ would complain: Line 277: if [ "$DBUS_SYSTEM_BUS_ADDRESS" != "" ]; then ^-- SC2153: Possible misspelling: DBUS_SYSTEM_BUS_ADDRESS may not be assigned, but dbus_system_bus_address is. See: https://github.com/koalaman/shellcheck/wiki/SC2153
This commit is contained in:
parent
1cdaf21203
commit
67dc9761e2
1 changed files with 1 additions and 0 deletions
1
toolbox
1
toolbox
|
@ -274,6 +274,7 @@ create()
|
|||
tmpfs_size=$((64 * 1024 * 1024)) # 64 MiB
|
||||
working_container_name="toolbox-working-container-$(uuidgen --time)"
|
||||
|
||||
# shellcheck disable=SC2153
|
||||
if [ "$DBUS_SYSTEM_BUS_ADDRESS" != "" ]; then
|
||||
dbus_system_bus_address=$DBUS_SYSTEM_BUS_ADDRESS
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue