Skip to content

Commit

Permalink
Don't relaunch the host process on logout.
Browse files Browse the repository at this point in the history
BUG=None
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/11280127

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169150 0039d316-1c4b-4281-b951-d872f2087c98
  • Loading branch information
jamiewalch@chromium.org committed Nov 21, 2012
1 parent 2e5cd12 commit 539f108
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ run_host() {
local SIGNAL=$(($EXIT_CODE - 128))
echo "Forwarding signal $SIGNAL to host"
kill -$SIGNAL "$HOST_PID"
elif [[ "$EXIT_CODE" -eq "$SIGTERM_EXIT_CODE" ||
elif [[ "$EXIT_CODE" -eq "0" ||
"$EXIT_CODE" -eq "$SIGTERM_EXIT_CODE" ||
("$EXIT_CODE" -ge "$MIN_PERMANENT_ERROR_EXIT_CODE" && \
"$EXIT_CODE" -le "$MAX_PERMANENT_ERROR_EXIT_CODE") ]]; then
echo "Host returned permanent exit code $EXIT_CODE"
Expand Down

0 comments on commit 539f108

Please sign in to comment.