diff options
author | Matt Wilson <msw@redhat.com> | 2001-02-14 08:52:57 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-02-14 08:52:57 +0000 |
commit | 198377895c40268d2d08f69c42991969b5ddd51e (patch) | |
tree | 01d6b002c005d420dbb9e62996b8b549d17d83ee | |
parent | a173a3b4f35f14d48f9910ddcae91566e10bbc4c (diff) | |
download | anaconda-198377895c40268d2d08f69c42991969b5ddd51e.tar.gz anaconda-198377895c40268d2d08f69c42991969b5ddd51e.tar.xz anaconda-198377895c40268d2d08f69c42991969b5ddd51e.zip |
nuke the site from orbit, it's the only way to be sure
-rw-r--r-- | utils/genhdlist.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/genhdlist.c b/utils/genhdlist.c index a86bf8630..92afcdf98 100644 --- a/utils/genhdlist.c +++ b/utils/genhdlist.c @@ -470,7 +470,10 @@ int main(int argc, const char ** argv) { hdListFile2 = malloc(strlen(hdListFile) + 2); sprintf(hdListFile2, "%s2", hdListFile); - + + unlink (hdListFile); + unlink (hdListFile2); + outfd = Fopen(hdListFile, "w"); if (!outfd) { fprintf(stderr,"error creating file %s: %s\n", hdListFile, |