diff options
author | kris <kris@FreeBSD.org> | 2000-11-26 03:37:34 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-11-26 03:37:34 +0000 |
commit | 05c00631fc2128b7756c38d71ae1d0626a0078fb (patch) | |
tree | 591ccc8a98a9bc17f0daa6a3b6957b4dd53403fc /usr.sbin/periodic | |
parent | eb309bb4e994252581b59c0163daf4c632739c67 (diff) | |
download | FreeBSD-src-05c00631fc2128b7756c38d71ae1d0626a0078fb.zip FreeBSD-src-05c00631fc2128b7756c38d71ae1d0626a0078fb.tar.gz |
Properly fix the temporary file creation in the case of multiple
command-line arguments.
Noticed by: dynamo <dynamo@ime.net>
Diffstat (limited to 'usr.sbin/periodic')
-rw-r--r-- | usr.sbin/periodic/periodic.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/periodic/periodic.sh b/usr.sbin/periodic/periodic.sh index ce38ba2..6c21c21 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 |