mirror of
https://github.com/palera1n/palera1n.git
synced 2026-11-20 20:35:52 +01:00
chore(cli): make logging make more sense
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -160,9 +160,10 @@ int exploit(int *stage)
|
|||||||
|
|
||||||
// no reason to use this for tui/gui
|
// no reason to use this for tui/gui
|
||||||
if ((flag & kDeviceRecoveryModeFlag) && (palerain_flags & palerain_option_cli)) {
|
if ((flag & kDeviceRecoveryModeFlag) && (palerain_flags & palerain_option_cli)) {
|
||||||
|
LOG("Found recovery mode device");
|
||||||
|
|
||||||
cr = ra1n_enter_dfu(client);
|
cr = ra1n_enter_dfu(client);
|
||||||
if (cr == RA1N_CLIENT_ERR_NONE) {
|
if (cr == RA1N_CLIENT_ERR_NONE) {
|
||||||
LOG("Found DFU mode device");
|
|
||||||
usb_close(client);
|
usb_close(client);
|
||||||
*stage = STAGE_RESET;
|
*stage = STAGE_RESET;
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in new issue
Block a user