This commit is contained in:
devdatt 2025-12-09 19:34:08 +05:30
parent 1d8a86730b
commit d5a88480bd
1 changed files with 0 additions and 2 deletions

View File

@ -392,7 +392,6 @@ function update_service($which_service)
switch ($which_service) { switch ($which_service) {
case 'input': case 'input':
$input .= " "; $input .= " ";
$file = "/var/www/encoder-main.sh"; $file = "/var/www/encoder-main.sh";
if (file_put_contents($file, $input) !== false) { if (file_put_contents($file, $input) !== false) {
@ -401,7 +400,6 @@ function update_service($which_service)
echo "Error writing file."; echo "Error writing file.";
} }
exec("sudo systemctl restart encoder-main"); exec("sudo systemctl restart encoder-main");
break; break;
case 'display'; case 'display';
break; break;