diff --git a/modules/ksb/Updater/Git.pm b/modules/ksb/Updater/Git.pm index a198fd5..2abd421 100644 --- a/modules/ksb/Updater/Git.pm +++ b/modules/ksb/Updater/Git.pm @@ -93,7 +93,7 @@ sub clone my $result = eval { $self->installGitSnapshot() }; - if (my $e = had_an_exception() || !$result) { + if ((my $e = had_an_exception()) || !$result) { warning($e->message()) if $e; if (0 != log_command($module, 'git-clone', ['git', 'clone', @args])) { croak_runtime("Failed to make initial clone of $module");