summaryrefslogtreecommitdiff
path: root/src/rm.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-09-28 03:51:00 +0000
committerJim Meyering <jim@meyering.net>1997-09-28 03:51:00 +0000
commitde2517a1f405e949857046a00ce57fe0bb059df8 (patch)
tree0956f65d7d0e693d30a38266b07737391f893677 /src/rm.c
parent4a32d010ef1bffe722bcb1afe0971d7f2ea39850 (diff)
downloadcoreutils-de2517a1f405e949857046a00ce57fe0bb059df8.tar.xz
(remove_dir): Update old comment.
Diffstat (limited to 'src/rm.c')
-rw-r--r--src/rm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rm.c b/src/rm.c
index 2ded93b42..33b679de3 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -687,8 +687,8 @@ remove_file (struct File_spec *fs)
/* If not in recursive mode, print an error message and return RM_ERROR.
Otherwise, query the user if appropriate, then try to recursively
- remove directory `pathname', which STATP contains info about.
- Return 0 if `pathname' is removed, 1 if not.
+ remove the directory specified by FS. Return RM_OK if it is removed,
+ and RM_ERROR or RM_USER_DECLINED if not.
FIXME: describe need_save_cwd parameter. */
static enum RM_status