Save error code from SSH for use inside case statement, from portable.
authordtucker <dtucker@openbsd.org>
Mon, 25 Mar 2024 02:07:08 +0000 (02:07 +0000)
committerdtucker <dtucker@openbsd.org>
Mon, 25 Mar 2024 02:07:08 +0000 (02:07 +0000)
commita41507b7b42f258a7be5afd33e40187b2351a863
tree24f3c45207146395c8ddec259e4dc7e5363b47ea
parent403fdbac7c204cc18847ba31a18f347a52a25838
Save error code from SSH for use inside case statement, from portable.
In some shells, "case" will reset the value of $?, so save it first.
regress/usr.bin/ssh/key-options.sh