From 1218e694ef69473c50c05c63c17d7ca57c64aeb8 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Mon, 30 Jun 2014 20:43:48 +0100 Subject: [PATCH] more on issue #742 --- plugins/dbms/mssqlserver/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dbms/mssqlserver/filesystem.py b/plugins/dbms/mssqlserver/filesystem.py index 83b7faf64..6bc5fe936 100644 --- a/plugins/dbms/mssqlserver/filesystem.py +++ b/plugins/dbms/mssqlserver/filesystem.py @@ -181,7 +181,7 @@ class Filesystem(GenericFilesystem): logger.debug("executing the PowerShell script to write the %s file" % dFile) commands = ("powershell -ExecutionPolicy ByPass -File \"%s\"" % randPSScriptPath, - "del /F /Q \"%s\"" % (randPSScriptPath, randPSScriptPath)) + "del /F /Q \"%s\"" % randPSScriptPath) complComm = " & ".join(command for command in commands) self.execCmd(complComm)