summaryrefslogtreecommitdiff
path: root/rm.c
diff options
context:
space:
mode:
Diffstat (limited to 'rm.c')
-rw-r--r--rm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rm.c b/rm.c
index 4f97cad..c62083e 100644
--- a/rm.c
+++ b/rm.c
@@ -102,9 +102,9 @@ extern int rm_main(int argc, char **argv)
} else {
if (recursiveAction(srcName, recursiveFlag, FALSE,
TRUE, fileAction, dirAction, NULL) == FALSE) {
- exit(FALSE);
+ return EXIT_FAILURE;
}
}
}
- return(TRUE);
+ return EXIT_SUCCESS;
}