~swift-coresec/swift/github

« back to all changes in this revision

Viewing changes to bin/swift-account-server

  • Committer: Gerrit Code Review
  • Author(s): Jenkins
  • Date: 2013-12-13 11:49:15 UTC
  • mfrom: (1344.1.1)
  • Revision ID: git-v1:4dfe31e69e2294a77df53a5ce3b52b05f4c62a18
Merge "Return an exit code for configuration errors"

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
 
 
17
import sys
17
18
from swift.common.utils import parse_options
18
19
from swift.common.wsgi import run_wsgi
19
20
 
20
21
if __name__ == '__main__':
21
22
    conf_file, options = parse_options()
22
 
    run_wsgi(conf_file, 'account-server', default_port=6002, **options)
 
23
    sys.exit(run_wsgi(conf_file,
 
24
                      'account-server', default_port=6002, **options))