Minicom bails out quietly when failing to open specified device
With release 2.9
$ minicom
minicom: cannot open /dev/modem: No such file or directory
$ minicom --version
minicom version 2.9 (compiled Sep 23 2023)
Copyright (C) Miquel van Smoorenburg.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
2 of the License, or (at your option) any later version.
A friendly error message is printed when minicom fails to open a device, but with release 2.10 or later,
$ ./minicom
$ echo $?
1
$ ./minicom --version
minicom version 2.10.90 (compiled Apr 3 2025)
Copyright (C) Miquel van Smoorenburg.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version
2 of the License, or (at your option) any later version.
it just bails out silently without any useful messages. This is quite confusing.
Edited by Yao Zi