diff options
Diffstat (limited to 'src/remove.c')
-rw-r--r-- | src/remove.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remove.c b/src/remove.c index f91ac55d4..c7bb679ba 100644 --- a/src/remove.c +++ b/src/remove.c @@ -206,7 +206,7 @@ hash_pjw (const void *x, unsigned int tablesize) static bool hash_compare_strings (void const *x, void const *y) { - return STREQ (x, y); + return STREQ (x, y) ? true : false; } static inline void @@ -568,7 +568,7 @@ remove_cwd_entries (const struct rm_options *x) if (CLOSEDIR (dirp)) { error (0, errno, "%s", full_filename (".")); - status = 1; + status = RM_OK; } dirp = NULL; |