fix syntax

This commit is contained in:
rootzoll 2022-01-17 00:29:20 +01:00
parent 6f271c6745
commit c84d69db6d

View File

@ -67,7 +67,7 @@ echo "starting shutdown ..."
sudo shutdown ${shutdownParams}
# detect missing DBUS
if [ "${$DBUS_SESSION_BUS_ADDRESS}" == "" ]; then
if [ "${DBUS_SESSION_BUS_ADDRESS}" == "" ]; then
echo "WARN: Missing \$DBUS_SESSION_BUS_ADDRESS .. "
if [ "$1" = "reboot" ]; then
echo "RUNNING FALLBACK REBOOT .. "