]> rtime.felk.cvut.cz Git - novaboot.git/commit
Warn when multiple target connection options are given
authorMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 24 Nov 2014 09:53:51 +0000 (10:53 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Mon, 24 Nov 2014 09:57:01 +0000 (10:57 +0100)
commit2e6309413e432b7fe070cd4dbc81ee6940202444
tree0c505331093f4a28958037670fb6da20922b0663
parentbc9aa4750676631e11efa15d78da8a353259b003
Warn when multiple target connection options are given

This may be problem when --remote-expect is used, but the expected string
is not produced by all connection methods. Then, --remote-expect will may
cause indefinite blocking. For example, when

   --remote-cmd 'sterm ...' --remote-exepect Connected

is overridedn with --serial ..., then the "Connected" may not be
received.

Since this override may behave correctly in certain cases, we only warn
here.

Thanks to Michal Vokáč for reporting this.
novaboot