瀏覽代碼

Dpkg::Source::Package: Add missing parenthesis in find_command() call

Regression introduced in commit 383247f0d2dfbd3d0d6388f87869ac1abaa8b7cd.

Closes: #652113

Reported-by: Vincent Danjean <vdanjean@debian.org>
Guillem Jover 14 年之前
父節點
當前提交
ffd6804def
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/Dpkg/Source/Package.pm

+ 1 - 1
scripts/Dpkg/Source/Package.pm

@@ -344,7 +344,7 @@ sub check_signature {
     my @exec;
     if (find_command('gpgv')) {
         push @exec, "gpgv";
-    } elsif (find_command('gpg') {
+    } elsif (find_command('gpg')) {
         push @exec, "gpg", "--no-default-keyring", "-q", "--verify";
     }
     if (scalar(@exec)) {