Don't print paths twice with cpdir -v. (ast@)
This commit is contained in:
parent
b293e689a9
commit
bbaa3f6bc3
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ int copy(const char *src, const char *dst, struct stat *srcst,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (vflag) {
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue