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:
+1
-1
@@ -172,7 +172,7 @@ do_move(const char *from, const char *to)
|
|||||||
*/
|
*/
|
||||||
if (!fflg && !access(to, F_OK)) {
|
if (!fflg && !access(to, F_OK)) {
|
||||||
|
|
||||||
/* prompt only if source exist */
|
/* prompt only if source exists */
|
||||||
if (lstat(from, &sb) == -1) {
|
if (lstat(from, &sb) == -1) {
|
||||||
warn("%s", from);
|
warn("%s", from);
|
||||||
return (1);
|
return (1);
|
||||||
|
|||||||
Reference in New Issue
Block a user