2
0

Add debug log when SSH key for deletion isn't found

This commit is contained in:
John Maguire
2016-01-31 22:01:16 -05:00
parent 1035581cb2
commit d3db1a846d

View File

@@ -374,6 +374,11 @@ func rewriteAuthorizedKeys(key *PublicKey, p, tmpP string) error {
break
}
}
if !isFound {
log.Warn("SSH key %d not found in authorized_keys file for deletion", key.ID)
}
return nil
}