blob: 4b57b5892d3bee6dd7ed0ed57026185a35bf3b16 [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// +build !windows
package bot
import (
"golang.org/x/sys/unix"
)
// Terminate implements Bot.
func (b realBot) Terminate() error {
return b.cmd.Process.Signal(unix.SIGTERM)
}