]> err.no Git - dpkg/commitdiff
fix warning when trying to remove a non-existing statoverride
authorWichert Akkerman <wakkerma@debian.org>
Tue, 12 Dec 2000 16:34:07 +0000 (16:34 +0000)
committerWichert Akkerman <wakkerma@debian.org>
Tue, 12 Dec 2000 16:34:07 +0000 (16:34 +0000)
ChangeLog
debian/changelog
scripts/dpkg-statoverride.pl

index 4e8d9c982c4a60103e1b3b02a482efac41e9b1f8..4016293ea502826fade8907871438e89b82bb5ee 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Dec 12 16:27:59 CET 2000 Wichert Akkerman <wakkerma@debian.org>
+
+  * scripts/dpkg-statoverride.pl: fix warning when trying to remove a
+    non-existing override.
+
 Mon Dec 11 01:10:19 CET 2000 Wichert Akkerman <wakkerma@debian.org>
 
   * debian/control: add gettext to the build-depends
index ca2c1daf0735ec825d551b7954123358756271c7..1d6a9ffed49706e78c2b98254b4e41ba1782bb65 100644 (file)
@@ -11,6 +11,8 @@ dpkg (1.8.0) unstable; urgency=low
   * Add Linux S/390 support. Closes: Bug#79063
   * Using libz to decompress data instead of calling gzip
   * Add gettext to build-depends
+  * Fix warning when trying to remove a non-existing statoverride.
+    Closes: Bug#79352
 
  -- Wichert Akkerman <wakkerma@debian.org>  UNRELEASED
 
index b89a9547349582d57379c95d8f26aba4ca344c12..20cdad1429c9c6edd3a7ef1a107f44062771c768 100755 (executable)
@@ -128,7 +128,7 @@ if ($mode eq "add") {
        @ARGV==1 || &badusage("--remove needs one arguments");
        $file=$ARGV[0];
        if (not defined $owner{$file}) {
-               print "No override present.";
+               print STDERR "No override present.\n";
                exit(0);
        }
        delete $owner{$file};