summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-01-22 08:34:58 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2014-01-22 08:34:58 +0000
commitbffa726cc6e0cf08f9ed9b26fea25f0ddb5f3661 (patch)
treefa47e440b99f747cdc8d94bdac60089ec535fc8f
parent650c515c93590161df42e5971c9cb5ad1dd247ca (diff)
Don't remove the SHA256 file twice.
-rw-r--r--usr.sbin/sysmerge/sysmerge.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysmerge/sysmerge.sh b/usr.sbin/sysmerge/sysmerge.sh
index 534dab0a0aa..8622e5951db 100644
--- a/usr.sbin/sysmerge/sysmerge.sh
+++ b/usr.sbin/sysmerge/sysmerge.sh
@@ -1,6 +1,6 @@
#!/bin/ksh -
#
-# $OpenBSD: sysmerge.sh,v 1.108 2014/01/22 08:25:16 ajacoutot Exp $
+# $OpenBSD: sysmerge.sh,v 1.109 2014/01/22 08:34:57 ajacoutot Exp $
#
# Copyright (c) 2008-2014 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 1998-2003 Douglas Barton <DougB@FreeBSD.org>
@@ -139,7 +139,7 @@ check_sig() {
echo "===> Verying ${_set} SHA256 signature"
/usr/bin/signify -V -e -p ${_key} -x "${_sigfile}.sig" -m "${_sigfile}" 2>/dev/null || \
error_rm_wrkdir "signature check for ${_sigfile}"
- rm "${_sigfile}" "${_sigfile}.sig"
+ rm "${_sigfile}.sig"
}
# prepare TEMPROOT content from a src dir and create cksum file