blob: f74d3258b02fd1a2218b2d4bf8e4beff91ab816d [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 darwin linux
package event
import (
"os"
"os/signal"
"golang.org/x/sys/unix"
)
func notifyOnAbort(c chan os.Signal) {
signal.Notify(c, unix.SIGTERM, unix.SIGINT)
}