#!/bin/bash
set -e
manager=$1
while true; do
  if flumotion-command -m $manager showplanet | grep atmosphere; then
    exit 0
  fi
  sleep 1
done
