mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-26 06:16:56 +09:00
Improve delete SSH key
This commit is contained in:
1 parent
7cb5a15c9b
commit
8ca14e2109
14 files changed
+49
-101
No files matched your search
@@ -98,6 +98,7 @@ var Service struct {
|
||||
LdapAuth bool
|
||||
}
|
||||
|
||||
// ExecDir returns absolute path execution(binary) path.
|
||||
func ExecDir() (string, error) {
|
||||
file, err := exec.LookPath(os.Args[0])
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user