artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a8cef5
)
we're running rm. call it rm too.
author
tedu
<tedu@openbsd.org>
Tue, 6 Oct 2015 16:51:15 +0000
(16:51 +0000)
committer
tedu
<tedu@openbsd.org>
Tue, 6 Oct 2015 16:51:15 +0000
(16:51 +0000)
bin/mv/mv.c
patch
|
blob
|
history
diff --git
a/bin/mv/mv.c
b/bin/mv/mv.c
index
4190f76
..
1a5083e
100644
(file)
--- a/
bin/mv/mv.c
+++ b/
bin/mv/mv.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: mv.c,v 1.4
0 2015/08/24 00:10:59 guenther Exp $
*/
+/* $OpenBSD: mv.c,v 1.4
1 2015/10/06 16:51:15 tedu Exp $
*/
/* $NetBSD: mv.c,v 1.9 1995/03/21 09:06:52 cgd Exp $ */
/*
@@
-366,7
+366,7
@@
copy(char *from, char *to)
return (1);
}
if (!(pid = vfork())) {
- execl(_PATH_RM, "
cp
", "-rf", "--", from, (char *)NULL);
+ execl(_PATH_RM, "
rm
", "-rf", "--", from, (char *)NULL);
warn("%s", _PATH_RM);
_exit(1);
}