aboutsummaryrefslogtreecommitdiff
path: root/modules/base/conf.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-06 16:28:52 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-06 16:28:52 -0400
commit8ca14e210959b9316a4eed6e127de1eb775fda74 (patch)
tree93af1213d80c700838b1c41eb1c1c9ffcbfd60d6 /modules/base/conf.go
parent7cb5a15c9b7a2a118d756d15cb745743f207a318 (diff)
Improve delete SSH key
Diffstat (limited to 'modules/base/conf.go')
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go
index cbd6532b..88085172 100644
--- a/modules/base/conf.go
+++ b/modules/base/conf.go
@@ -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 {