mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 11:19:39 -06:00
fix offense
This commit is contained in:
@@ -15,7 +15,7 @@ func OverrideDefaultString(v, def string) string {
|
||||
// value by providing one. A value different than zero would mean that it was read from a config file either from an
|
||||
// extension or from a higher source (i.e: ocis command).
|
||||
func OverrideDefaultBool(v, def bool) bool {
|
||||
if v != false {
|
||||
if v {
|
||||
return v
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user