Add missing /d argument

This commit is contained in:
Kevin Sawicki
2014-11-18 13:11:47 -08:00
parent 84232d76de
commit 69d3b3cfa2

View File

@@ -85,7 +85,7 @@ updatePath = (callback) ->
console.log 'updating'
console.log segments.join(';')
args = ['add', environmentKeyPath, '/v', 'Path', segments.join(';'), '/f']
args = ['add', environmentKeyPath, '/v', 'Path', '/d', segments.join(';'), '/f']
spawnReg(args, callback)
exports.spawn = spawnUpdate