mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
Swap usage of share name and id for consistent behavior
This commit is contained in:
parent
0dbd8538a0
commit
24d962eb72
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ for ($i=0; $i -le $args.length; $i = $i + 3) {
|
|||
exit 1
|
||||
}
|
||||
|
||||
$result = net share $share_name=$path /unlimited /GRANT:$grant /REMARK:"${share_id}"
|
||||
$result = net share $share_id=$path /unlimited /GRANT:$grant /REMARK:"${share_name}"
|
||||
if ($LastExitCode -ne 0) {
|
||||
$host.ui.WriteLine("share path: ${path}")
|
||||
$host.ui.WriteErrorLine("error ${result}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue