From d6be28a3da4f40fcba1c2f0161ac48a38378a103 Mon Sep 17 00:00:00 2001 From: Dirk Koopman Date: Fri, 17 Apr 2020 02:13:58 +0100 Subject: [PATCH] add dbg line to dxcron::spawn_cmd --- perl/DXCron.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perl/DXCron.pm b/perl/DXCron.pm index 0cc6ce88..ae9feb32 100644 --- a/perl/DXCron.pm +++ b/perl/DXCron.pm @@ -246,6 +246,7 @@ sub spawn { my $line = shift; + dbg("DXCron::spawn: $line") if isdbg("cron"); my $fc = Mojo::IOLoop::Subprocess->new(); $fc->run( sub {my @res = `$line`; return @res}, -- 2.43.0