Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Issue 1986012: Only kill the dev server when it is started by image_to_live process. (Closed)

Created:
10 years, 7 months ago by ericli
Modified:
9 years, 7 months ago
Reviewers:
kmixter1
CC:
chromium-os-reviews_chromium.org
Base URL:
ssh://git@chromiumos-git/chromeos
Visibility:
Public.

Description

Only kill the dev server when it is started by image_to_live process.

Patch Set 1 #

Patch Set 2 : patch 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M src/scripts/image_to_live.sh View 1 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ericli
10 years, 7 months ago (2010-05-13 00:29:37 UTC) #1
kmixter1
10 years, 7 months ago (2010-05-15 01:07:24 UTC) #2
LGTM

On Wed, May 12, 2010 at 5:29 PM,  <ericli@chromium.org> wrote:
> Reviewers: kmixter1,
>
> Description:
> Only kill the dev server when it is started by image_to_live process.
>
> Please review this at http://codereview.chromium.org/1986012/show
>
> SVN Base: ssh://git@chromiumos-git/chromeos
>
> Affected files:
>  M src/scripts/image_to_live.sh
>
>
> Index: src/scripts/image_to_live.sh
> diff --git a/src/scripts/image_to_live.sh b/src/scripts/image_to_live.sh
> index
>
c75e3684acbcf75c0a755b6157b22631feb102b5..594437c9a9bae6eca1fb9c0b83ab0e47766342d7
> 100755
> --- a/src/scripts/image_to_live.sh
> +++ b/src/scripts/image_to_live.sh
> @@ -32,7 +32,9 @@ function kill_all_devservers {
>
>  function cleanup {
>   echo "Killing dev server."
> -  kill_all_devservers
> +  if [ -z "${FLAGS_update_url}" ]; then
> +    kill_all_devservers
> +  fi
>   cleanup_remote_access
>   rm -rf "${TMP}"
>  }
>
>
>

Powered by Google App Engine
This is Rietveld 408576698