Sample env carries a version marker; install appends settings missing since the writing version
This commit is contained in:
@@ -381,7 +381,7 @@ func serviceCommand(configPath string, install, noCopy, elevatedChild bool) int
|
||||
if abs, absErr := filepath.Abs(path); absErr == nil {
|
||||
path = abs
|
||||
}
|
||||
err = service.Install(path, !noCopy)
|
||||
err = service.Install(path, !noCopy, version)
|
||||
} else {
|
||||
err = service.Remove()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user