mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 01:07:21 +01:00
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:
parent
c327288e8e
commit
ebb1fe4006
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user