Fix pub key check for info display

This commit is contained in:
Clemens Schwaighofer
2022-03-28 15:01:46 +09:00
parent 12d8d57bd2
commit a15541c86b

View File

@@ -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