X-Git-Url: https://ruderich.org/simon/gitweb/?p=fcscs%2Ffcscs.git;a=blobdiff_plain;f=bin%2Ffcscs;h=0033af86f8eeb10be82aa8c27fa81ee2cb019854;hp=054842aeebd915e25deedbc36a876f72655bc253;hb=30ff4d3ea1ed327f29e3ed921792bdd996779728;hpb=d780757754f710460d7fe2acb010261208c97afa diff --git a/bin/fcscs b/bin/fcscs index 054842a..0033af8 100755 --- a/bin/fcscs +++ b/bin/fcscs @@ -458,6 +458,9 @@ sub run_in_background { my $pid = fork; defined $pid or die $!; if ($pid == 0) { # child + # Disable debug mode as writing will fail with closed STDERR. + $config->{setting}{debug} = 0; + $sub->(); } exit;