diff --git a/inc/VpnClient.php b/inc/VpnClient.php index 0377de2..c19e750 100644 --- a/inc/VpnClient.php +++ b/inc/VpnClient.php @@ -757,7 +757,7 @@ class VpnClient $escaped ); - $out = shell_exec($sshCmd); + $out = (string) shell_exec($sshCmd); $parts = explode("---", trim($out)); if (count($parts) < 2) {