diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2021-02-22 16:14:47 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2021-02-25 16:27:08 +0100 |
commit | 92bdd5e901a0e590b51af8a0e5807806c09effa6 (patch) | |
tree | aafcd0fe5016451c2985b142c25d3b39b7e1621e /COPYING | |
parent | c8caec293333c7cfd93f29e9e7fa88f9cc78aa8b (diff) |
serial: don't crash if the device does not exist
The most common reason for pySim to crash is when it is executed without
commandline parameters. Then pySim will expect a serial reader on
/dev/ttyUSB0 since this is the default. Lets check if /dev/ttyUSB0 even
exists before trying to open it.
Change-Id: I7545c728b531e9a796eee8f80f0b08d4097f8399
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions