Skip to content

Commit

Permalink
mv: Improve comment
Browse files Browse the repository at this point in the history
Fix typo/grammar error: Use the singlar verb ending on exists.

Event: Advanced UNIX Programming Course (Fall23) at NTHU.
Reviewed by: imp, zlei
Pull Request: freebsd#940
  • Loading branch information
johnson6841 authored and bsdimp committed Dec 26, 2023
1 parent c327288 commit ebb1fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mv/mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ do_move(const char *from, const char *to)
*/
if (!fflg && !access(to, F_OK)) {

/* prompt only if source exist */
/* prompt only if source exists */
if (lstat(from, &sb) == -1) {
warn("%s", from);
return (1);
Expand Down

0 comments on commit ebb1fe4

Please sign in to comment.