From a3125484c96dea7e70e274028fe8d99bb008b1d1 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sun, 26 Nov 2000 03:37:34 +0000 Subject: [PATCH] Properly fix the temporary file creation in the case of multiple command-line arguments. Noticed by: dynamo --- usr.sbin/periodic/periodic.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/periodic/periodic.sh b/usr.sbin/periodic/periodic.sh index ce38ba2d6e6f..6c21c21c5da1 100644 --- a/usr.sbin/periodic/periodic.sh +++ b/usr.sbin/periodic/periodic.sh @@ -92,7 +92,6 @@ do cp /dev/null $tmp_output fi done - rm -f $tmp_output done if [ $empty = TRUE ] then @@ -101,3 +100,4 @@ do fi } | eval $pipe done +rm -f $tmp_output