From dbf2e319f0c582613fa45a735ea3c242ce56946b Mon Sep 17 00:00:00 2001 From: "dtucker@openbsd.org" Date: Mon, 25 Mar 2024 02:07:08 +0000 Subject: [PATCH] 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 --- regress/key-options.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regress/key-options.sh b/regress/key-options.sh index 2f3d66e2e..623128ca4 100644 --- a/regress/key-options.sh +++ b/regress/key-options.sh @@ -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"