diff --git a/client/cmd/update.go b/client/cmd/update.go index 145c161..9d7d649 100644 --- a/client/cmd/update.go +++ b/client/cmd/update.go @@ -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