Output result for OpenVPN client value

This commit is contained in:
Ely Deckers 2022-02-20 21:50:41 +01:00
parent 835816aab0
commit 31a0b0ad19
1 changed files with 1 additions and 1 deletions

View File

@ -725,7 +725,7 @@ class Commands
return Util::result(OPENVPN_CLIENT_VALUE[$value_key]($maybe_value), true);
}
return Util::result(empty($maybe_value) ? $fallback_value : $maybe_value);
return Util::result(empty($maybe_value) ? $fallback_value : $maybe_value, true);
}
public static function service_value(string $name, string $value)