[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: checks/deb-format: Actually use safe_qx



This is an automated email from the git hooks/post-receive script.

jwilk pushed a commit to branch master
in repository lintian.

commit 1588489ae5e44700668104eb1d780b6194664ed9
Author: Jakub Wilk <jwilk@debian.org>
Date:   Tue Oct 11 20:45:54 2016 +0200

    checks/deb-format: Actually use safe_qx
    
    Fixes: 6a369c4914a19bad6d15bcc76dd370df43cb5a0e
---
 checks/deb-format.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/deb-format.pm b/checks/deb-format.pm
index 13b31f6..1f78aaa 100644
--- a/checks/deb-format.pm
+++ b/checks/deb-format.pm
@@ -195,7 +195,7 @@ sub run {
     # supports a newer format but it's not permitted in the archive
     # yet.
     if (not defined($failed)) {
-        my $output = spawn('ar', 'p', $deb, 'debian-binary');
+        my $output = safe_qx('ar', 'p', $deb, 'debian-binary');
         if ($? != 0) {
             tag 'malformed-deb-archive', 'cannot read debian-binary member';
         } elsif ($output !~ /^2\.\d+\n/) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: