really fix the insecure temp file creation
authormicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Wed, 28 Sep 2005 14:52:45 +0000 (14:52 +0000)
committermicah <micah@758a04ac-41e6-0310-8a23-8373a73cc35d>
Wed, 28 Sep 2005 14:52:45 +0000 (14:52 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@182 758a04ac-41e6-0310-8a23-8373a73cc35d

backupninja

index d52f4cdf45c9c76002b408d0ed446652c3d092f9..b91d2c885dd0e5bec2348f4605425365c822201d 100755 (executable)
@@ -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