remove file after use

This commit is contained in:
Christopher 2020-10-24 14:22:17 +02:00
parent d728e68f1a
commit 85016dbc94
1 changed files with 1 additions and 0 deletions

View File

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