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:
Debarshi Ray 2019-03-06 20:10:02 +01:00
parent 1cdaf21203
commit 67dc9761e2

View file

@ -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