was closing an fd that may not have been opened

This commit is contained in:
Todd C. Miller
1996-04-02 19:57:13 +00:00
parent 1265fcc4f8
commit 0eb20432fe

View File

@@ -343,6 +343,7 @@ static void update_timestamp()
if (fd < 0)
perror("update_timestamp: open");
else
close(fd);
}