remove erroraction on win removedir
This commit is contained in:
parent
284b069003
commit
bf7a4b3363
|
@ -28,7 +28,7 @@ var guestOSTypeCommands = map[string]guestOSTypeCommand{
|
||||||
WindowsOSType: {
|
WindowsOSType: {
|
||||||
chmod: "echo 'skipping chmod %s %s'", // no-op
|
chmod: "echo 'skipping chmod %s %s'", // no-op
|
||||||
mkdir: "powershell.exe -Command \"New-Item -ItemType directory -Force -ErrorAction SilentlyContinue -Path %s\"",
|
mkdir: "powershell.exe -Command \"New-Item -ItemType directory -Force -ErrorAction SilentlyContinue -Path %s\"",
|
||||||
removeDir: "powershell.exe -Command \"rm %s -recurse -force -ErrorAction SilentlyContinue\"",
|
removeDir: "powershell.exe -Command \"rm %s -recurse -force\"",
|
||||||
statPath: "powershell.exe -Command { if (test-path %s) { exit 0 } else { exit 1 } }",
|
statPath: "powershell.exe -Command { if (test-path %s) { exit 0 } else { exit 1 } }",
|
||||||
mv: "powershell.exe -Command \"mv %s %s\"",
|
mv: "powershell.exe -Command \"mv %s %s\"",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue