From: micah Date: Wed, 28 Sep 2005 14:52:45 +0000 (+0000) Subject: really fix the insecure temp file creation X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=b22ff8619a1f97f64e8726b61e6586cb886195b4;p=matthijs%2Fupstream%2Fbackupninja.git really fix the insecure temp file creation git-svn-id: http://code.autistici.org/svn/backupninja/trunk@182 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/backupninja b/backupninja index d52f4cd..b91d2c8 100755 --- a/backupninja +++ b/backupninja @@ -305,7 +305,7 @@ function process_action() { let "actions_run += 1" # call the handler: - [ if -x /bin/mktemp ] + if [ -x /bin/mktemp ] then local bufferfile=`mktemp /tmp/backupninja.buffer.XXXXXXXX` else