summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2013-05-11 16:17:57 +0200
committerChristian Ruppert <idl0r@gentoo.org>2013-05-11 16:17:57 +0200
commitd083c59eb3df6a96707a56f54a7dea77c2497493 (patch)
tree7b501625694c48fa1c77b8f31833a83d7e2df418
parentFix bug #454782 by config the user name and email (diff)
downloadgentoolkit-d083c59eb3df6a96707a56f54a7dea77c2497493.tar.gz
gentoolkit-d083c59eb3df6a96707a56f54a7dea77c2497493.tar.bz2
gentoolkit-d083c59eb3df6a96707a56f54a7dea77c2497493.zip
Fix closing pipe handle
-rwxr-xr-xsrc/echangelog/echangelog2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/echangelog/echangelog b/src/echangelog/echangelog
index 48007d1..b7e97e4 100755
--- a/src/echangelog/echangelog
+++ b/src/echangelog/echangelog
@@ -592,7 +592,7 @@ if (@ebuilds) {
}
}
}
-close($fh);
+close($fh) if $fh;
# Subversion diff doesn't identify new versions. So use the status command
if (($vcs eq "svn" or $vcs eq "hg") and (@ebuilds)) {