From 1cb8c06d78706597e86f2035aa6324465c49d471 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Wed, 28 Sep 2005 14:52:45 +0000 Subject: [PATCH] really fix the insecure temp file creation --- backupninja | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2