summaryrefslogtreecommitdiffhomepage
path: root/runsc/boot/loader.go
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2018-11-05 17:41:22 -0800
committerShentubot <shentubot@google.com>2018-11-05 17:42:24 -0800
commita467f092616122f1f718df2a375ba66e97997594 (patch)
treebcec328e16b8f80592dd4eb78a855e5b434016c6 /runsc/boot/loader.go
parent95722dc4dd00b5efc182a05605e6e460383e618e (diff)
Log when external signal is received
PiperOrigin-RevId: 220204591 Change-Id: I21a9c6f5c12a376d18da5d10c1871837c4f49ad2
Diffstat (limited to 'runsc/boot/loader.go')
-rw-r--r--runsc/boot/loader.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go
index 380fa3fbf..10fec5b59 100644
--- a/runsc/boot/loader.go
+++ b/runsc/boot/loader.go
@@ -336,6 +336,7 @@ func New(args Args) (*Loader, error) {
// properly.
deliveryMode = DeliverToForegroundProcessGroup
}
+ log.Infof("Received external signal %d, mode: %v", sig, deliveryMode)
if err := l.signal(args.ID, 0, int32(sig), deliveryMode); err != nil {
log.Warningf("error sending signal %v to container %q: %v", sig, args.ID, err)
}