summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-02-14 08:52:57 +0000
committerMatt Wilson <msw@redhat.com>2001-02-14 08:52:57 +0000
commit198377895c40268d2d08f69c42991969b5ddd51e (patch)
tree01d6b002c005d420dbb9e62996b8b549d17d83ee
parenta173a3b4f35f14d48f9910ddcae91566e10bbc4c (diff)
downloadanaconda-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.c5
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,