mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02: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() {
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user