Explorar o código

dpkg-scanpackages: Spell nocheck option in wait_child() correctly

Spotted-by: James McCoy <jamessan@debian.org> (in devscripts)
Guillem Jover %!s(int64=12) %!d(string=hai) anos
pai
achega
30b1fef606
Modificáronse 2 ficheiros con 3 adicións e 1 borrados
  1. 2 0
      debian/changelog
  2. 1 1
      scripts/dpkg-scanpackages.pl

+ 2 - 0
debian/changelog

@@ -44,6 +44,8 @@ dpkg (1.17.11) UNRELEASED; urgency=low
   * Add new dpkg-query virtual fields db:Status-Want, db:Status-Status and
     db:Status-Eflag to allow fine-grained access to the Status values.
   * Automatically add the Testsuite field in dpkg-source to the .dsc file.
+  * Spell nocheck option in dpkg-scanpackages wait_child() call correctly.
+    Spotted by James McCoy <jamessan@debian.org> (in devscripts).
 
   [ Updated programs translations ]
   * Danish (Joe Dalton). Closes: #754127

+ 1 - 1
scripts/dpkg-scanpackages.pl

@@ -197,7 +197,7 @@ FILE:
 	my $fields = Dpkg::Control->new(type => CTRL_INDEX_PKG);
 	$fields->parse($output, $fn)
 	    or error(_g("couldn't parse control information from %s"), $fn);
-	wait_child($pid, no_check => 1);
+	wait_child($pid, nocheck => 1);
 	if ($?) {
 	    warning(_g("\`dpkg-deb -I %s control' exited with %d, skipping package"),
 	            $fn, $?);