From b10fb66c28d64a6ea102ce527fc7688015e975ff Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 9 Nov 2017 16:17:38 -0500 Subject: StopSignal is allowed to be 0 If StopSignal is 0, it is assumed that the default signal will be used. Signed-off-by: Matthew Heon --- libpod/sql_state_internal.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpod/sql_state_internal.go b/libpod/sql_state_internal.go index da7c708e7..5c9da03e2 100644 --- a/libpod/sql_state_internal.go +++ b/libpod/sql_state_internal.go @@ -46,7 +46,7 @@ func prepareDB(db *sql.DB) (err error) { UseImageConfig INTEGER NOT NULL, CHECK (Stdin IN (0, 1)), CHECK (UseImageConfig IN (0, 1)), - CHECK (StopSignal>0) + CHECK (StopSignal>=0) ); ` -- cgit v1.2.3-54-g00ecf