diff options
author | Matthew Heon <matthew.heon@gmail.com> | 2017-11-09 16:17:38 -0500 |
---|---|---|
committer | Matthew Heon <matthew.heon@gmail.com> | 2017-11-18 12:58:48 -0500 |
commit | b10fb66c28d64a6ea102ce527fc7688015e975ff (patch) | |
tree | bcc26abaa4e68efea1ad60575343aeb2c7a86cae | |
parent | 12f19ca013bad5382eec72abf4cf2d5d7c71d3a5 (diff) | |
download | podman-b10fb66c28d64a6ea102ce527fc7688015e975ff.tar.gz podman-b10fb66c28d64a6ea102ce527fc7688015e975ff.tar.bz2 podman-b10fb66c28d64a6ea102ce527fc7688015e975ff.zip |
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 <matthew.heon@gmail.com>
-rw-r--r-- | libpod/sql_state_internal.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) ); ` |