{"action":"created","issue":{"url":"https://api.github.com/repos/libimobiledevice/idevicerestore/issues/40","labels_url":"https://api.github.com/repos/libimobiledevice/idevicerestore/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/libimobiledevice/idevicerestore/issues/40/comments","events_url":"https://api.github.com/repos/libimobiledevice/idevicerestore/issues/40/events","html_url":"https://github.com/libimobiledevice/idevicerestore/issues/40","id":98107257,"number":40,"title":"Random choice when restoring with multiple units","user":{"login":"neilbrownlee","id":13537571,"avatar_url":"https://avatars.githubusercontent.com/u/13537571?v=3","gravatar_id":"","url":"https://api.github.com/users/neilbrownlee","html_url":"https://github.com/neilbrownlee","followers_url":"https://api.github.com/users/neilbrownlee/followers","following_url":"https://api.github.com/users/neilbrownlee/following{/other_user}","gists_url":"https://api.github.com/users/neilbrownlee/gists{/gist_id}","starred_url":"https://api.github.com/users/neilbrownlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilbrownlee/subscriptions","organizations_url":"https://api.github.com/users/neilbrownlee/orgs","repos_url":"https://api.github.com/users/neilbrownlee/repos","events_url":"https://api.github.com/users/neilbrownlee/events{/privacy}","received_events_url":"https://api.github.com/users/neilbrownlee/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-30T08:02:17Z","updated_at":"2015-07-30T08:30:45Z","closed_at":null,"body":"Hi,\r\n\r\nIf you tell idevicerestore to restore a specific device using --udid or -u and the deviceid returned from idevice_id - l, it starts off the process, downloads (if needed) the new .ipsw but then puts a different unit into restore mode!!\r\n\r\nHas anyone experienced this or worked around it? I have a few devices plugged in and was a bit shocked to discover I'd wiped the wrong one :( \r\n\r\nI'll begin running through the code to see if I can find anything obvious but I was just wondering if anyone had noticed and patched themselves."},"comment":{"url":"https://api.github.com/repos/libimobiledevice/idevicerestore/issues/comments/126223937","html_url":"https://github.com/libimobiledevice/idevicerestore/issues/40#issuecomment-126223937","issue_url":"https://api.github.com/repos/libimobiledevice/idevicerestore/issues/40","id":126223937,"user":{"login":"neilbrownlee","id":13537571,"avatar_url":"https://avatars.githubusercontent.com/u/13537571?v=3","gravatar_id":"","url":"https://api.github.com/users/neilbrownlee","html_url":"https://github.com/neilbrownlee","followers_url":"https://api.github.com/users/neilbrownlee/followers","following_url":"https://api.github.com/users/neilbrownlee/following{/other_user}","gists_url":"https://api.github.com/users/neilbrownlee/gists{/gist_id}","starred_url":"https://api.github.com/users/neilbrownlee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neilbrownlee/subscriptions","organizations_url":"https://api.github.com/users/neilbrownlee/orgs","repos_url":"https://api.github.com/users/neilbrownlee/repos","events_url":"https://api.github.com/users/neilbrownlee/events{/privacy}","received_events_url":"https://api.github.com/users/neilbrownlee/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T08:30:45Z","updated_at":"2015-07-30T08:30:45Z","body":"*Update*\r\n\r\nIt is essentially ignoring the -u or -udid option and picking the first device in normal mode - I'd say this was problem!"}}