]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh_installman
r495: * dh_undocumented: check for existing uncompressed man pages. Closes: #87972
[debhelper.git] / dh_installman
index c5efe70c806cd6e6f2742f1981c4974c3bfdb9d2..a01f63d103cd504d7cea5007e4d112fa2adbbd5c 100755 (executable)
@@ -165,7 +165,7 @@ sub find_so_man {
        }
 
        # Test first line of file for the .so thing.
-       open (SOTEST,$_);
+       open (SOTEST,$_) || die "$_: $!";
        my $l=<SOTEST>;
        close SOTEST;
        if ($l=~m/\.so\s+(.*)/) {