When copying multiple files to a directory, make sure that a proper
warning is given when the directory doesn't exist. PR: bin/50656 Submitted by: Edwin Groothuis <edwin@mavetju.org> Approved by: grog@ Not reviewed by: grog@
This commit is contained in:
parent
0c3e489dce
commit
0d5ee457ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=174890
@ -211,7 +211,7 @@ main(int argc, char *argv[])
|
||||
* Case (1). Target is not a directory.
|
||||
*/
|
||||
if (argc > 1) {
|
||||
usage();
|
||||
warnx("Target is not a directory");
|
||||
exit(1);
|
||||
}
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user