Merge pull request #369 from palark/fix-easyrsa-build-client

Fix easyrsa build-client-full command
This commit is contained in:
Dmitry Shurupov 2025-05-30 20:13:58 +07:00 committed by GitHub
commit 3f17e73dd1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -992,7 +992,7 @@ func (oAdmin *OvpnAdmin) userCreate(username, password string) (bool, string) {
log.Error(err) log.Error(err)
} }
} else { } else {
o := runBash(fmt.Sprintf("cd %s && %s build-client-full %s nopass 1>/dev/null", *easyrsaDirPath, *easyrsaBinPath, username)) o := runBash(fmt.Sprintf("cd %s && %s --batch build-client-full %s nopass 1>/dev/null", *easyrsaDirPath, *easyrsaBinPath, username))
log.Debug(o) log.Debug(o)
} }