From 00bca73b32922509e42ea7e7bb1b33cf43e021f7 Mon Sep 17 00:00:00 2001 From: mrjk Date: Wed, 28 Mar 2018 10:56:25 -0400 Subject: [PATCH] Fix: Little bugs on mod_ssh --- lib/idmgr_mod_ssh.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/idmgr_mod_ssh.sh b/lib/idmgr_mod_ssh.sh index 38cd65d..3e734f7 100644 --- a/lib/idmgr_mod_ssh.sh +++ b/lib/idmgr_mod_ssh.sh @@ -41,7 +41,7 @@ idm_ssh () # Internal override case # Fallback to command - idm_ssh_help + idm_ssh__help return 1 } @@ -54,7 +54,6 @@ idm_ssh__ls () { local id=$1 local opt=${2:--l} - local opt=-l lib_id_is_enabled $id || return 0 @@ -222,7 +221,7 @@ idm_ssh_add () { local id=$1 local key=${2-} - local maxdepth=1 + local maxdepth=2 #lib_id_is_enabled $id lib_id_is_enabled $id