mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-22 08:34:05 +09: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