Skip to content

Commit

Permalink
Remove exits
Browse files Browse the repository at this point in the history
  • Loading branch information
MCUdude committed Sep 1, 2023
1 parent 37d896f commit 385f210
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,6 @@ int main(int argc, char * argv [])
pmsg_error("serial adapter %s with serial number %s not found\n", seradapter, port_tok[1]);
else
pmsg_error("serial adapter %s not found\n", seradapter);
exit(1);
}
} else {
// Port or usb vid/pid
Expand All @@ -1202,7 +1201,6 @@ int main(int argc, char * argv [])
pmsg_error("serial adapter with USB VID %s and PID %s and serial number %s not found\n", port_tok[0], port_tok[1], port_tok[2]);
else
pmsg_error("serial adapter with USB VID %s and PID %s not found\n", port_tok[0], port_tok[1]);
exit(1);
}
}
}
Expand Down

0 comments on commit 385f210

Please sign in to comment.