diff options
| author | Jilles Tjoelker <jilles@FreeBSD.org> | 2015-08-22 21:35:35 +0000 |
|---|---|---|
| committer | Jilles Tjoelker <jilles@FreeBSD.org> | 2015-08-22 21:35:35 +0000 |
| commit | d302084eb85c9527ee3c767c2a41252d3cc09af1 (patch) | |
| tree | 3edb8ea42624d14550ed003ac386f1461a8397a9 /bin | |
| parent | cde7e3c245fd8f6ec6b06cda2695cbaa3065d610 (diff) | |
Notes
Diffstat (limited to 'bin')
| -rw-r--r-- | bin/mv/mv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mv/mv.c b/bin/mv/mv.c index 2710f890774b..566167d030eb 100644 --- a/bin/mv/mv.c +++ b/bin/mv/mv.c @@ -122,7 +122,7 @@ main(int argc, char *argv[]) */ if (stat(argv[argc - 1], &sb) || !S_ISDIR(sb.st_mode)) { if (argc > 2) - usage(); + errx(1, "%s is not a directory", argv[argc - 1]); exit(do_move(argv[0], argv[1])); } |
