Skip to content

Commit 077773a

Browse files
committed
just: Yet another update in configure-bluetooth-headset-profile
1 parent e82e9b6 commit 077773a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/justfiles/gidro-os.just

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ configure-bluetooth-headset-profile ACTION="prompt":
318318
fi
319319
systemctl --user restart wireplumber
320320
echo 'Reverted setting "Bluetooth headset profile" to defaults.'
321-
else
321+
if [ ! -f "${WIREPLUMBER_DIR}/${WIREPLUMBER_FILE}" ]; then
322322
printf "\e[1;31mERROR: Bluetooth headset profile is already enabled, no change is made.\e[0m\n" 1>&2
323323
fi
324324
fi

0 commit comments

Comments
 (0)