The wording annoyed me (#229)

This commit is contained in:
hydrationMan authored and GitHub committed 2022-11-13 14:33:13 -05:00
1 parent 1f72cb748b
commit 57db0053d3
1 file changed
+2 -2
+2 -2
View File
@@ -84,12 +84,12 @@ _wait() {
_check_dfu() {
if [ "$os" = 'Darwin' ]; then
if ! (system_profiler SPUSBDataType 2> /dev/null | grep ' Apple Mobile Device (DFU Mode):' >> /dev/null); then
echo "[-] Device didn't go in DFU mode, please rerun the script and try again"
echo "[-] Connected device is not in DFU mode, please rerun the script and try again"
exit
fi
else
if ! (lsusb 2> /dev/null | grep 'DFU Mode' >> /dev/null); then
echo "[-] Device didn't go in DFU mode, please rerun the script and try again"
echo "[-] Connected device is not in DFU mode, please rerun the script and try again"
exit
fi
fi