aboutsummaryrefslogtreecommitdiff
path: root/client/file.c
diff options
context:
space:
mode:
authorJon Robertson <jonrober@stanford.edu>2010-07-27 17:08:56 -0700
committerJon Robertson <jonrober@stanford.edu>2010-07-27 17:08:56 -0700
commit5047dee97b80e2db2c57a2654a549e87411c1813 (patch)
treeff8d01c006398932437665fb507cc3245d7f589d /client/file.c
parent534f2111ab41ed63024d811a3d8f5b81256d83a9 (diff)
Finished first pass of the rekey command
Cleaned up several bugs preventing the rekey command from working (bad calls to variables, matching on version of principal name already stripped of realm), and removed debugging code.
Diffstat (limited to 'client/file.c')
-rw-r--r--client/file.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/client/file.c b/client/file.c
index f24d3ca..581d4a7 100644
--- a/client/file.c
+++ b/client/file.c
@@ -56,9 +56,6 @@ append_file(const char *name, const void *data, size_t length)
int fd;
ssize_t status;
- if (access(name, F_OK) == 0)
- if (unlink(name) < 0)
- sysdie("unable to delete existing file %s", name);
fd = open(name, O_WRONLY | O_APPEND);
if (fd < 0)
sysdie("open of %s failed", name);