reassing value of bootstrap after trim

pull/15/head
necro-nemesis 6 years ago
parent 8fab0254b7
commit a844be33f4

@ -635,7 +635,7 @@ function SaveTORAndVPNConfig(){
<?php
//echo "lokinet-bootstrap ", $bootstrap;
$bootstrap = escapeshellarg($bootstrap);
trim($bootstrap, '"');
$bootstrap=trim($bootstrap, '"');
echo "sudo /home/pi/loki-network/lokilaunch.sh bootstrap $bootstrap";
$output = shell_exec("sudo /home/pi/loki-network/lokilaunch.sh bootstrap $bootstrap");
echo "<pre>$output</pre>";

Loading…
Cancel
Save