Fix pub key check for info display
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user