Fixes phonegap/ios-deploy#80 --detect not showing non-zero exit code when no devices are detected.
This commit is contained in:
parent
7a447b480f
commit
767c386ba9
@ -1607,8 +1607,10 @@ void timeout_callback(CFRunLoopTimerRef timer, void *info) {
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!debug)
|
||||
if (!debug) {
|
||||
printf("[....] No more devices found.\n");
|
||||
exit(exitcode_error);
|
||||
}
|
||||
else
|
||||
{
|
||||
int mypid = getpid();
|
||||
|
Loading…
x
Reference in New Issue
Block a user