Don't print paths twice with cpdir -v. (ast@)
This commit is contained in:
parent
b293e689a9
commit
bbaa3f6bc3
@ -538,7 +538,7 @@ int copy(const char *src, const char *dst, struct stat *srcst,
|
||||
}
|
||||
}
|
||||
if (vflag) {
|
||||
printf(action == COPY ? "cp %s %s\n" : "mv %s %s\n", src, dst);
|
||||
printf(action == COPY ? "cp %s ..\n" : "mv %s ..\n", src);
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user