upstream: 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.

OpenBSD-Regress-ID: da32e5be19299cb4f0f7de7f29c11257a62d6949
This commit is contained in:
dtucker@openbsd.org 2024-03-25 02:07:08 +00:00 committed by Darren Tucker
parent d2c8c4fa7d
commit dbf2e319f0
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: key-options.sh,v 1.9 2018/07/03 13:53:26 djm Exp $
# $OpenBSD: key-options.sh,v 1.10 2024/03/25 02:07:08 dtucker Exp $
# Placed in the Public Domain.
tid="key options"