Fix: Little bugs on mod_ssh
This commit is contained in:
parent
445843d817
commit
00bca73b32
@ -41,7 +41,7 @@ idm_ssh ()
|
|||||||
# Internal override case
|
# Internal override case
|
||||||
|
|
||||||
# Fallback to command
|
# Fallback to command
|
||||||
idm_ssh_help
|
idm_ssh__help
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -54,7 +54,6 @@ idm_ssh__ls ()
|
|||||||
{
|
{
|
||||||
local id=$1
|
local id=$1
|
||||||
local opt=${2:--l}
|
local opt=${2:--l}
|
||||||
local opt=-l
|
|
||||||
|
|
||||||
lib_id_is_enabled $id || return 0
|
lib_id_is_enabled $id || return 0
|
||||||
|
|
||||||
@ -222,7 +221,7 @@ idm_ssh_add ()
|
|||||||
{
|
{
|
||||||
local id=$1
|
local id=$1
|
||||||
local key=${2-}
|
local key=${2-}
|
||||||
local maxdepth=1
|
local maxdepth=2
|
||||||
|
|
||||||
#lib_id_is_enabled $id
|
#lib_id_is_enabled $id
|
||||||
lib_id_is_enabled $id
|
lib_id_is_enabled $id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user