diff options
-rw-r--r-- | pkgtools/pkg_install/files/add/perform.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/add/perform.c b/pkgtools/pkg_install/files/add/perform.c index 9aa37689cf2..b087e4c5e9c 100644 --- a/pkgtools/pkg_install/files/add/perform.c +++ b/pkgtools/pkg_install/files/add/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.82 2009/03/02 14:59:14 joerg Exp $ */ +/* $NetBSD: perform.c,v 1.83 2009/03/02 15:30:45 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" #endif @@ -6,7 +6,7 @@ #if HAVE_SYS_CDEFS_H #include <sys/cdefs.h> #endif -__RCSID("$NetBSD: perform.c,v 1.82 2009/03/02 14:59:14 joerg Exp $"); +__RCSID("$NetBSD: perform.c,v 1.83 2009/03/02 15:30:45 joerg Exp $"); /*- * Copyright (c) 2003 Grant Beattie <grant@NetBSD.org> @@ -776,7 +776,6 @@ pkg_register_depends(struct pkg_task *pkg) if (fd == -1) { warn("can't open dependency file '%s'," "registration is incomplete!", required_by); - close(fd); } else if (write(fd, text, text_len) != text_len) { warn("can't write to dependency file `%s'", required_by); close(fd); |