ruderich.org/simon
/
fcscs
/
fcscs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d780757
)
run_in_background: fix execution when debug mode is enabled
author
Simon Ruderich
<simon@ruderich.org>
Sat, 23 Jan 2016 16:46:43 +0000
(17:46 +0100)
committer
Simon Ruderich
<simon@ruderich.org>
Sat, 23 Jan 2016 16:46:43 +0000
(17:46 +0100)
bin/fcscs
patch
|
blob
|
history
diff --git
a/bin/fcscs
b/bin/fcscs
index 054842aeebd915e25deedbc36a876f72655bc253..0033af86f8eeb10be82aa8c27fa81ee2cb019854 100755
(executable)
--- 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;