add new line at end of command
This commit is contained in:
parent
1eb8cb3ee2
commit
461af5dddd
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue