diff options
Diffstat (limited to 'src/remove.c')
-rw-r--r-- | src/remove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c index 58042286a..65fdbee75 100644 --- a/src/remove.c +++ b/src/remove.c @@ -1084,7 +1084,7 @@ remove_dir (Dirstack_state *ds, char const *dir, struct cwd_state **cwd_state, if (ROOT_DEV_INO_CHECK (x->root_dev_ino, &dir_sb)) { ROOT_DEV_INO_WARN (full_filename (dir)); - return 1; + return RM_ERROR; } AD_push (ds, dir, &dir_sb); |