really fix the insecure temp file creation
authorMicah Anderson <micah@riseup.net>
Wed, 28 Sep 2005 14:52:45 +0000 (14:52 +0000)
committerMicah Anderson <micah@riseup.net>
Wed, 28 Sep 2005 14:52:45 +0000 (14:52 +0000)
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