commit | 2ea7a78e344514e1dfc3b4e7591c2726b5b95f90 | [log] [tgz] |
---|---|---|
author | Allen Webb <allenwebb@google.com> | Tue Aug 31 14:41:54 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Sep 01 03:56:18 2021 |
tree | 0aac025bbd1aba7572511198dc0d49b0e916733a | |
parent | e4f259d6183dffeb87964f469fbc6a2538377082 [diff] |
job.c: Add missing condition to JOB_STOPPING transition. When the JOB_TMPFILES state was added (https://crrev.com/c/3097231), the JOB_STOPPING state was not updated to allow for transitions from JOB_TMPFILES. This leads to a crash. Fixes: 200c13d8a3196d39 ("Add tmpfiles stanza for defining tmpfiles.d configurations.") BUG=b:198200817 TEST=stop the ui job right after starting it. Change-Id: I04b80857cdf204bfe02370013e71fe630070fdef Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/upstart/+/3133344 Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org> Reviewed-by: Gwendal Grignou <gwendal@chromium.org> Tested-by: Allen Webb <allenwebb@google.com> Commit-Queue: Allen Webb <allenwebb@google.com>