This website works better with JavaScript.
Home
Explore
Help
Sign In
closed-social
/
gitea
Watch
3
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix
#252
for-closed-social
Eryx
10 years ago
parent
bf703ef617
commit
d5d04a66f3
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
models/publickey.go
+ 1
- 1
models/publickey.go
View File
@ -161,7 +161,7 @@ func rewriteAuthorizedKeys(key *PublicKey, p, tmpP string) error {
}
defer
fr
.
Close
(
)
fw
,
err
:=
os
.
Creat
e
(
tmpP
)
fw
,
err
:=
os
.
OpenFil
e
(
tmpP
,
os
.
O_CREATE
|
os
.
O_WRONLY
|
os
.
O_APPEND
,
0600
)
if
err
!=
nil
{
return
err
}
Write
Preview
Loading…
Cancel
Save