Make stateful_update use ping_omaha's flags. small devserver cleanups.

TEST=Tested this by running it locally on my workstation and calling both stateful_update and memento_updater on a ToT build of chromiumOS on an eee1008HA.

Review URL: http://codereview.chromium.org/2283003
This commit is contained in:
Sean O'Connor 2010-05-27 17:53:32 -07:00
parent 66dc143902
commit 07eec0a9c2

View File

@ -10,7 +10,7 @@ COMMON_SH="$(dirname "$0")/common.sh"
. "$COMMON_SH"
# Script must be run inside the chroot if not in 'always serve' mode.
if [[ "$1" != "-a" ]]
if [[ "$1" != "--archive_dir" ]]
then
restart_in_chroot_if_needed $*
fi