fix exitcode of borg serve, fixes #2910

(cherry picked from commit 583de3eeb1)
This commit is contained in:
Thomas Waldmann 2017-08-06 04:18:49 +02:00
parent 6f7d67d0f9
commit 68d505c974
1 changed files with 2 additions and 1 deletions

View File

@ -231,12 +231,13 @@ class Archiver:
def do_serve(self, args):
"""Start in server mode. This command is usually not used manually."""
return RepositoryServer(
RepositoryServer(
restrict_to_paths=args.restrict_to_paths,
restrict_to_repositories=args.restrict_to_repositories,
append_only=args.append_only,
storage_quota=args.storage_quota,
).serve()
return EXIT_SUCCESS
@with_repository(create=True, exclusive=True, manifest=False)
def do_init(self, args, repository):