mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-08-15 22:23:14 +03:00
host: simtrace2-sniff: init exit code
Early failure i.e. of libusb return random values as exit code. Change-Id: If920824d35c1f37efe16440b5fb190ca0fb19148
This commit is contained in:
@@ -328,7 +328,7 @@ static void signal_handler(int signal)
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
int i, rc, ret;
|
int i, rc, ret = 1;
|
||||||
print_welcome();
|
print_welcome();
|
||||||
|
|
||||||
/* Parse arguments */
|
/* Parse arguments */
|
||||||
|
|||||||
Reference in New Issue
Block a user