Maint: OpenVPN: only add persist-tun when running without root
This commit is contained in:
@@ -52,6 +52,7 @@ func (p *Privatevpn) BuildConf(connection models.Connection,
|
||||
|
||||
if !settings.Root {
|
||||
lines = append(lines, "user "+settings.ProcUser)
|
||||
lines = append(lines, "persist-tun")
|
||||
}
|
||||
|
||||
if settings.MSSFix > 0 {
|
||||
|
||||
Reference in New Issue
Block a user