From 0701bd0ea1edec7873e015903869f0cb2e7e237c Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Mon, 12 Oct 2015 18:25:16 +0000 Subject: [PATCH] Reverse the sm_error call in sm_trap. pointed out by semarie@... I need some sleep :/ --- usr.sbin/sysmerge/sysmerge.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/sysmerge/sysmerge.sh b/usr.sbin/sysmerge/sysmerge.sh index 858f96fb5ea..8f6fdd16f2b 100644 --- a/usr.sbin/sysmerge/sysmerge.sh +++ b/usr.sbin/sysmerge/sysmerge.sh @@ -1,6 +1,6 @@ #!/bin/ksh - # -# $OpenBSD: sysmerge.sh,v 1.212 2015/10/12 18:13:59 ajacoutot Exp $ +# $OpenBSD: sysmerge.sh,v 1.213 2015/10/12 18:25:16 ajacoutot Exp $ # # Copyright (c) 2008-2014 Antoine Jacoutot # Copyright (c) 1998-2003 Douglas Barton @@ -43,8 +43,8 @@ sm_error() { } sm_trap() { - sm_error rm -f /var/sysmerge/{etc,pkg,xetc}sum + sm_error } trap "sm_trap; exit 1" 1 2 3 13 15 -- 2.20.1