From a15541c86bacde42c59dc2db0bb33c491d3d0a06 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Mon, 28 Mar 2022 15:01:46 +0900 Subject: [PATCH] Fix pub key check for info display --- bin/user_create.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/user_create.sh b/bin/user_create.sh index c0aabd9..d3905d3 100755 --- a/bin/user_create.sh +++ b/bin/user_create.sh @@ -136,7 +136,7 @@ while read i; do if getent passwd ${user} > /dev/null 2>&1; then echo -n ", User exists"; fi; - if [ -f "${ssh_keyfile_pub}" ]; then + if [ -f "${ssh_keyfile_check_pub}" ]; then echo -n ", SSH Pub key OK"; fi; # line break