summaryrefslogtreecommitdiff
path: root/libpod/sql_state_internal.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2017-11-09 16:17:38 -0500
committerMatthew Heon <matthew.heon@gmail.com>2017-11-18 12:58:48 -0500
commitb10fb66c28d64a6ea102ce527fc7688015e975ff (patch)
treebcc26abaa4e68efea1ad60575343aeb2c7a86cae /libpod/sql_state_internal.go
parent12f19ca013bad5382eec72abf4cf2d5d7c71d3a5 (diff)
downloadpodman-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>
Diffstat (limited to 'libpod/sql_state_internal.go')
-rw-r--r--libpod/sql_state_internal.go2
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)
);
`