summaryrefslogtreecommitdiffstats
path: root/modules/setting/setting.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/setting/setting.go')
-rw-r--r--modules/setting/setting.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index 2fbc1f2cdc..92eb04de97 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -361,12 +361,6 @@ func NewContext() {
} else if err = os.MkdirAll(SSH.KeyTestPath, 0644); err != nil {
log.Fatal(4, "Fail to create '%s': %v", SSH.KeyTestPath, err)
}
-
- if !filepath.IsAbs(SSH.KeygenPath) {
- if _, err := exec.LookPath(SSH.KeygenPath); err != nil {
- log.Fatal(4, "Fail to test '%s' command: %v (forgotten install?)", SSH.KeygenPath, err)
- }
- }
}
SSH.MinimumKeySizeCheck = sec.Key("MINIMUM_KEY_SIZE_CHECK").MustBool()