Skip to content

Commit

Permalink
Skip config modification for updates (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddworken authored Oct 21, 2024
1 parent 6849c53 commit 3e1b19d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func update(ctx context.Context) error {
if err != nil {
return fmt.Errorf("failed to chmod +x the update (stdout=%#v, stderr=%#v): %w", stdout.String(), stderr.String(), err)
}
cmd = exec.Command(getTmpClientPath(), "install")
cmd = exec.Command(getTmpClientPath(), "install", "--skip-update-config-modification", "--currently-installed-version", "v0."+lib.Version)
cmd.Stdout = os.Stdout
stderr = bytes.Buffer{}
cmd.Stdin = os.Stdin
Expand Down

0 comments on commit 3e1b19d

Please sign in to comment.