mirror of
https://github.com/status-im/miniupnp.git
synced 2025-01-20 03:08:56 +00:00
miniupnpc: Exit with 1 if no UPnP devices found with upnp-listdevices
This commit is contained in:
parent
4b0ff229d8
commit
39543ed3ca
@ -189,7 +189,8 @@ int main(int argc, char * * argv)
|
||||
free_device(dev_array);
|
||||
}
|
||||
} else {
|
||||
printf("no device found.\n");
|
||||
fprintf(stderr,"No UPnP devices found\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user