aboutsummaryrefslogtreecommitdiffstats
path: root/editasroot.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--editasroot.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/editasroot.c b/editasroot.c
index 09479f8..0a092cd 100644
--- a/editasroot.c
+++ b/editasroot.c
@@ -230,12 +230,6 @@ main(int argc, char *argv[])
/* Start file editor */
run_editor(editor, path, fds[0]);
- /* Signal to child that editor exited as expected */
- if (write(fds[0], &(char){1}, 1) != 1) {
- fprintf(stderr, "%s: write <socket to child>: %s", argv0, strerror(errno));
- exit(1);
- }
-
/* Rewrite file from tmpfile and unlink tmpfile */
fd = open(path, O_RDONLY);
if (fd < 0) {