From 8294c0a40e025c877fbef324f18dce11034a3adc Mon Sep 17 00:00:00 2001 From: tedu Date: Tue, 6 Oct 2015 16:51:15 +0000 Subject: [PATCH] we're running rm. call it rm too. --- bin/mv/mv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mv/mv.c b/bin/mv/mv.c index 4190f76e8be..1a5083e1942 100644 --- a/bin/mv/mv.c +++ b/bin/mv/mv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mv.c,v 1.40 2015/08/24 00:10:59 guenther Exp $ */ +/* $OpenBSD: mv.c,v 1.41 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); } -- 2.20.1