Skip to content

Commit de0de33

Browse files
fix: Shell script causing deployment to fail due to incorrect exit code
1 parent 2d50fab commit de0de33

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/auth_init.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
if [ "$AZURE_APP_SAMPLE_ENABLED" = "false" ]; then
66
echo "AZURE_APP_SAMPLE_ENABLED is false. Exiting auth_init script."
7-
exit 1
7+
exit 0
88
fi
99

1010
echo 'Running "auth_init.py"'

scripts/postprovision.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
if [ "$AZURE_APP_SAMPLE_ENABLED" = "false" ]; then
66
echo "AZURE_APP_SAMPLE_ENABLED is false. Exiting auth_update script."
7-
exit 1
7+
exit 0
88
fi
99

1010
echo 'Running "auth_update.py"'

0 commit comments

Comments
 (0)