From 1947100d910bcca9370d3c8345efd97c4445a5f0 Mon Sep 17 00:00:00 2001 From: robert Date: Sat, 22 Apr 2017 13:42:05 +0000 Subject: [PATCH] do not leave temp files after the diffing is done --- distrib/syspatch/diff.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distrib/syspatch/diff.sh b/distrib/syspatch/diff.sh index 1203b6f80c8..bd14dbf8cb3 100755 --- a/distrib/syspatch/diff.sh +++ b/distrib/syspatch/diff.sh @@ -1,6 +1,6 @@ #!/bin/ksh # -# $OpenBSD: diff.sh,v 1.1 2017/04/22 13:41:02 robert Exp $ +# $OpenBSD: diff.sh,v 1.2 2017/04/22 13:42:05 robert Exp $ # # Copyright (c) 2017 Robert Nagy # @@ -45,5 +45,5 @@ do echo ${_n} ;; esac - rm -f ${_onm} ${_nnm} + rm -f ${_o} ${_n} done -- 2.20.1