From d4865b88d9053d0dbc764240ba75c760b849d997 Mon Sep 17 00:00:00 2001 From: LukeZGD <26163116+LukeZGD@users.noreply.github.com> Date: Sun, 19 Mar 2023 23:02:12 +0800 Subject: [PATCH] Fix weird terminal issues caused by usbmuxd --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index dcfc3f7..71b8dc4 100755 --- a/restore.sh +++ b/restore.sh @@ -207,7 +207,7 @@ set_tool_paths() { irecovery2="sudo " sudo chmod +x $dir/* sudo systemctl stop usbmuxd - sudo usbmuxd -p -f &>/dev/null & + sudo usbmuxd -px usbmuxd_pid=$! fi