From f6214e343f68e43ca75ca9d9dd21e9a12ce7fd22 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Fri, 10 Apr 2020 12:55:02 +0200 Subject: [PATCH] add debug output of which command is run in run_progress() --- mmdebstrap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index e865c64..6c6d413 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -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);