(process_entry): Fix typo in last change.
authordrepper <drepper>
Sun, 12 Jan 2003 21:07:19 +0000 (21:07 +0000)
committerdrepper <drepper>
Sun, 12 Jan 2003 21:07:19 +0000 (21:07 +0000)
io/ftw.c

index f93d00f..1a38fe0 100644 (file)
--- a/io/ftw.c
+++ b/io/ftw.c
@@ -358,7 +358,7 @@ process_entry (struct ftw_data *data, struct dir_data *dir, const char *name,
                        }
                      else
                        if (__chdir ("..") < 0)
-                         result = 1;
+                         result = -1;
                    }
                }
            }