Fix a bug in awk code in rsh01
commit785233c145be3c0d3752fcc237c002be09f92090
authorJiri Palecek <jirka@debian.(none)>
Mon, 30 Nov 2009 00:51:46 +0000 (30 01:51 +0100)
committerJiri Palecek <jirka@debian.(none)>
Sat, 12 Dec 2009 13:47:40 +0000 (12 14:47 +0100)
treed82c36a8b83d8e689db0d118a54edbdd4dddf47d
parent11c32625424ee8f0863c44cd0bd4a8fdde032a2d
Fix a bug in awk code in rsh01

 The END label is executed always, even in the event of
 exit. Therefore, the "exit 1" statement was executed even when the
 line matched (as a consequence of "exit 0") and awk always returned
 1 (ie. failure).
testcases/network/tcp_cmds/rsh/rsh01