add new line at end of command

This commit is contained in:
Christopher 2020-10-24 13:53:32 +02:00
parent 1eb8cb3ee2
commit 461af5dddd
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ if(isset($_SESSION['LOGIN']))
if($command != "")
{
file_put_contents($filename, $command);
file_put_contents($filename, $command."\n");
system('cat '.$filename.' | socat EXEC:"docker attach '.$container['Id'].'",pty STDIN');
}