mirror of
https://github.com/webmin/webmin.git
synced 2026-02-14 02:42:07 +00:00
Fix log file
This commit is contained in:
@@ -33,10 +33,8 @@ $pid = fork();
|
||||
if (!$pid) {
|
||||
chdir("$module_root_directory/ajaxterm");
|
||||
untie(*STDIN); open(STDIN, "</dev/null");
|
||||
#untie(*STDOUT); open(STDOUT, ">/dev/null");
|
||||
#untie(*STDERR); open(STDERR, ">/dev/null");
|
||||
untie(*STDOUT); open(STDOUT, ">/tmp/ajaxterm.out");
|
||||
untie(*STDERR); open(STDERR, ">/tmp/ajaxterm.out");
|
||||
untie(*STDOUT); open(STDOUT, ">/dev/null");
|
||||
untie(*STDERR); open(STDERR, ">/dev/null");
|
||||
exec($python, "ajaxterm.py", "--port", $port, "--log");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user