diff --git a/lib/Rex/Commands.pm b/lib/Rex/Commands.pm index 256b32f0c..9a619fb7f 100644 --- a/lib/Rex/Commands.pm +++ b/lib/Rex/Commands.pm @@ -1035,6 +1035,8 @@ sub needs { Rex::Logger::debug("need to call tasks from $self"); + $self =~ s/::/:/g; + my @tasks_to_run; if($self) { @tasks_to_run = $tl->get_all_tasks(qr{^\Q$self\E:[A-Za-z0-9_\-]+$});