Skip to content

Commit 294834d

Browse files
authored
Update storage-how-to-use-files-linux.md to fix shell script
1 parent 4822612 commit 294834d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/storage/files/storage-how-to-use-files-linux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ On other distributions, use the appropriate package manager or [compile from sou
9393
--name $STORAGE_ACCOUNT_NAME \
9494
--query "primaryEndpoints.file" --output tsv | tr -d '"')
9595
SMBPATH=$(echo $HTTP_ENDPOINT | cut -c7-${#HTTP_ENDPOINT})
96-
FILE_HOST=$(echo $-- | tr -d "/")
96+
FILE_HOST=$(echo $SMBPATH | tr -d "/")
9797

9898
nc -zvw3 $FILE_HOST 445
9999
```

0 commit comments

Comments
 (0)