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>
This commit is contained in:
Matthew Heon
2017-11-09 16:17:38 -05:00
parent 12f19ca013
commit b10fb66c28

@ -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)
);
`