mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-25 08:54:17 -05:00
remove empty line as per https://github.com/gogits/gogs/pull/1475
This commit is contained in:
parent
599e904020
commit
1d52793faf
1 changed files with 0 additions and 1 deletions
|
@ -386,7 +386,6 @@ func ListPublicKeys(uid int64) ([]*PublicKey, error) {
|
||||||
|
|
||||||
// rewriteAuthorizedKeys finds and deletes corresponding line in authorized_keys file.
|
// rewriteAuthorizedKeys finds and deletes corresponding line in authorized_keys file.
|
||||||
func rewriteAuthorizedKeys(key *PublicKey, p, tmpP string) error {
|
func rewriteAuthorizedKeys(key *PublicKey, p, tmpP string) error {
|
||||||
|
|
||||||
fr, err := os.Open(p)
|
fr, err := os.Open(p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in a new issue