diff --git a/endorsement/management/commands/reconcile_shared_drives.py b/endorsement/management/commands/reconcile_shared_drives.py index 648981f9..ac6f85c1 100644 --- a/endorsement/management/commands/reconcile_shared_drives.py +++ b/endorsement/management/commands/reconcile_shared_drives.py @@ -1,6 +1,7 @@ # Copyright 2024 UW-IT, University of Washington # SPDX-License-Identifier: Apache-2.0 import logging +import sys from django.core.management.base import BaseCommand @@ -40,3 +41,4 @@ def handle(self, *args, **options): logger.error( "Reconcile shared drives failed: {}".format(ex), exc_info=True, stack_info=True) + sys.exit(1)