mv: Improve comment

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: https://github.com/freebsd/freebsd-src/pull/940
This commit is contained in:
Zhan-Wei 2023-12-26 10:15:46 -07:00 committed by Warner Losh
parent c327288e8e
commit ebb1fe4006

View File

@ -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);