From: Micah Anderson Date: Wed, 28 Sep 2005 14:52:45 +0000 (+0000) Subject: really fix the insecure temp file creation X-Git-Tag: backupninja-0.9~9 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=1cb8c06d78706597e86f2035aa6324465c49d471;p=matthijs%2Fupstream%2Fbackupninja.git really fix the insecure temp file creation --- 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