mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-28 20:19:48 +01:00
The wording annoyed me (#229)
This commit is contained in:
1 parent
1f72cb748b
commit
57db0053d3
1 file changed
+2
-2
+2
-2
@@ -84,12 +84,12 @@ _wait() {
|
|||||||
_check_dfu() {
|
_check_dfu() {
|
||||||
if [ "$os" = 'Darwin' ]; then
|
if [ "$os" = 'Darwin' ]; then
|
||||||
if ! (system_profiler SPUSBDataType 2> /dev/null | grep ' Apple Mobile Device (DFU Mode):' >> /dev/null); 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
|
exit
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if ! (lsusb 2> /dev/null | grep 'DFU Mode' >> /dev/null); then
|
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
|
exit
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user