Skip to content

Commit d7a93c6

Browse files
Changed the conditional check in the adlsgen2setup.sh script. The change from -n to -z ensures that the script correctly verifies whether the AZURE_ADLS_GEN2_STORAGE_ACCOUNT environment variable is set and non-empty before proceeding. This is the intended behavior to avoid running the script without the necessary configuration.
1 parent e1fdc9b commit d7a93c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/adlsgen2setup.sh

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

33
. ./scripts/loadenv.sh
44

5-
if [ -n "$AZURE_ADLS_GEN2_STORAGE_ACCOUNT" ]; then
5+
if [ -z "$AZURE_ADLS_GEN2_STORAGE_ACCOUNT" ]; then
66
echo 'AZURE_ADLS_GEN2_STORAGE_ACCOUNT must be set to continue'
77
exit 1
88
fi

0 commit comments

Comments
 (0)