mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-10-24 17:25:19 +08:00
Improve delete SSH key
This commit is contained in:
@ -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