Suppress WireGuard on dashboard when not installed (fix typo)

This commit is contained in:
bergware
2019-08-13 09:57:37 +02:00
parent 239fbc8932
commit 62eb13844e
+1 -1
View File
@@ -56,7 +56,7 @@ function vpn_peers($file) {
$dockerd = pgrep('dockerd');
$libvirtd = pgrep('libvirtd');
$apcupsd = file_exists('/var/run/apcupsd.pid');
$wireguard = is_executable('/usr/bin/wg') && file_exists('/var/log/plugins/dynamix.wireguatd.plg');
$wireguard = is_executable('/usr/bin/wg') && file_exists('/var/log/plugins/dynamix.wireguard.plg');
$started = $var['fsState']=='Started';
$sleep = isset($display['sleep']);
$cache_pool = $var['cacheSbNumDisks'];