diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2015-10-13 18:52:57 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2015-10-13 18:52:57 +0000 |
commit | e2fd89c333868324bf738b6fc701a65938ccdc2e (patch) | |
tree | 7e61e6685cd26d30aa7d3634e5c51f41ff3b36ae /usr.sbin | |
parent | 270fffbb26c4ae8ea813ae5f621d8e32d8467d5e (diff) |
sm_error() already does the exit for us.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sysmerge/sysmerge.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysmerge/sysmerge.sh b/usr.sbin/sysmerge/sysmerge.sh index 8f6fdd16f2b..6e9bedd8b67 100644 --- a/usr.sbin/sysmerge/sysmerge.sh +++ b/usr.sbin/sysmerge/sysmerge.sh @@ -1,6 +1,6 @@ #!/bin/ksh - # -# $OpenBSD: sysmerge.sh,v 1.213 2015/10/12 18:25:16 ajacoutot Exp $ +# $OpenBSD: sysmerge.sh,v 1.214 2015/10/13 18:52:56 ajacoutot Exp $ # # Copyright (c) 2008-2014 Antoine Jacoutot <ajacoutot@openbsd.org> # Copyright (c) 1998-2003 Douglas Barton <DougB@FreeBSD.org> @@ -47,7 +47,7 @@ sm_trap() { sm_error } -trap "sm_trap; exit 1" 1 2 3 13 15 +trap "sm_trap" 1 2 3 13 15 sm_info() { (($#)) && echo "---- Info: $@" || true |