about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--externaleditor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/externaleditor.c b/externaleditor.c
index 665291c..88382e7 100644
--- a/externaleditor.c
+++ b/externaleditor.c
@@ -118,7 +118,7 @@ open_external_editor_cb (gpointer data)
 
 	/* Check if child has terminated */
 	rv = waitpid(args->child_pid, &status, WNOHANG);
-	if (rv == -1 || WIFEXITED(status)) {
+	if (rv == -1 /* || WIFEXITED(status) */) {
 
 		/* Delete the file */
 		unlink(args->path);
'n86' href='#n86'>86 87 88 89 90 91