From b29498b34ecd4e44c4a28ba3696c79e1abf6bf14 Mon Sep 17 00:00:00 2001 From: xavierchanth Date: Mon, 2 Oct 2023 21:00:39 -0400 Subject: [PATCH] chore: fix legacy check --- tests/end2end_tests/contexts/_init_/setup-sshnp-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/end2end_tests/contexts/_init_/setup-sshnp-entrypoint.sh b/tests/end2end_tests/contexts/_init_/setup-sshnp-entrypoint.sh index a058e619b..72ae98636 100755 --- a/tests/end2end_tests/contexts/_init_/setup-sshnp-entrypoint.sh +++ b/tests/end2end_tests/contexts/_init_/setup-sshnp-entrypoint.sh @@ -26,7 +26,7 @@ eval "$prefix" "s/@sshnpdatsign/${sshnpd}/g" ../sshnp/entrypoint.sh eval "$prefix" "s/@sshrvdatsign/${sshrvd}/g" ../sshnp/entrypoint.sh eval "$prefix" "s/deviceName/${device}/g" ../sshnp/entrypoint.sh legacy_sub='' -if [ "$legacy" ]; then +if [ "$legacy" == 'true' ]; then legacy_sub="s/legacy/--legacy-daemon/g" else legacy_sub='s/legacy//g'