fixed: spectre outputs errors to file named /STDIN

This commit is contained in:
Graham Knop 2008-03-13 22:08:20 +00:00
parent 9de7e34112
commit 9e3094e05a

View file

@ -116,8 +116,8 @@ if ($shutdown) {
POSIX::setsid();
chdir "/";
open STDIN, "+>", File::Spec->devnull;
open STDOUT, "+>STDIN";
open STDERR, "+>STDIN";
open STDOUT, "+>&STDIN";
open STDERR, "+>&STDIN";
fork and exit;
Spectre::Admin->new($config, $debug);
}