diff options
author | Bryan Drewery <bryan@shatow.net> | 2014-04-24 02:27:20 +0400 |
---|---|---|
committer | Bryan Drewery <bryan@shatow.net> | 2014-04-24 02:27:20 +0400 |
commit | cd217717740c36d196d2e548ed2c7cff2a36e8f0 (patch) | |
tree | ecb90c9e6787e72544ed6517aba8174f120cb733 | |
parent | b7692c242354a762f481825fd96bffa21206e05c (diff) |
sigterm: is a stopped status too
-rwxr-xr-x | src/share/poudriere/common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/share/poudriere/common.sh b/src/share/poudriere/common.sh index c2ddcdb1..8dfbe9ad 100755 --- a/src/share/poudriere/common.sh +++ b/src/share/poudriere/common.sh @@ -2103,7 +2103,7 @@ calculate_elapsed() { start_end_time=$(stat -f '%B %m' ${log}/.poudriere.status) start_time=${start_end_time% *} case "${status}" in - sigint:|crashed:|stop:) end_time=${start_end_time#* } ;; + sigterm:|sigint:|crashed:|stop:) end_time=${start_end_time#* } ;; *) end_time=${now} ;; esac _start_time=${start_time} |