add debug output of which command is run in run_progress()

This commit is contained in:
Johannes 'josch' Schauer 2020-04-10 12:55:02 +02:00
parent ab5d5777d5
commit f6214e343f
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -600,6 +600,8 @@ sub run_progress {
info "run_progress() received signal $_[0]: waiting for child...";
};
debug("run_progress: exec " . (join ' ', ($get_exec->('${FD}'))));
# delay signals so that we can fork and change behaviour of the signal
# handler in parent and child without getting interrupted
my $sigset = POSIX::SigSet->new(SIGINT, SIGHUP, SIGPIPE, SIGTERM);