Changes in uspace/app/bdsh/cmds/modules/rm/rm.c [d5c1051:d96d9bc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/rm/rm.c
rd5c1051 rd96d9bc 149 149 } 150 150 151 if (vfs_lookup(path, WALK_REGULAR, &fd) == EOK) { 151 fd = vfs_lookup(path, WALK_REGULAR); 152 if (fd >= 0) { 152 153 vfs_put(fd); 153 154 return RM_FILE; … … 209 210 rc = vfs_unlink_path(path); 210 211 if (rc == EOK) 211 return 0;212 return EOK; 212 213 213 214 cli_error(CL_ENOTSUP, "Can not remove %s", path);
Note:
See TracChangeset
for help on using the changeset viewer.