Просмотр исходного кода

dpkg-buildflags: fix --dump to return 0 as exit code

Reported-by: Yves-Alexis Perez <corsac@debian.org>
Raphaël Hertzog лет назад: 14
Родитель
Сommit
dd483ad8e4
2 измененных файлов с 2 добавлено и 0 удалено
  1. 1 0
      debian/changelog
  2. 1 0
      scripts/dpkg-buildflags.pl

+ 1 - 0
debian/changelog

@@ -3,6 +3,7 @@ dpkg (1.16.1.1) UNRELEASED; urgency=low
   * Fix dpkg-source to not ignore the automatic patch when checking
   * Fix dpkg-source to not ignore the automatic patch when checking
     for unrecorded changes.
     for unrecorded changes.
   * Let dpkg-source --commit create debian/patches when required.
   * Let dpkg-source --commit create debian/patches when required.
+  * Fix dpkg-buildflags --dump to return 0 as exit code and not 1.
 
 
  -- Raphaël Hertzog <hertzog@debian.org>  Tue, 27 Sep 2011 08:15:51 +0200
  -- Raphaël Hertzog <hertzog@debian.org>  Tue, 27 Sep 2011 08:15:51 +0200
 
 

+ 1 - 0
scripts/dpkg-buildflags.pl

@@ -136,6 +136,7 @@ if ($action eq "get") {
 	my $value = $build_flags->get($flag);
 	my $value = $build_flags->get($flag);
 	print "$flag=$value\n";
 	print "$flag=$value\n";
     }
     }
+    exit(0);
 }
 }
 
 
 exit(1);
 exit(1);