Skip to content

Commit 272ed35

Browse files
authored
Update bootstrap-salt.sh
On arm64 platforms, bootstrap fails to finish installation due to missing variable 'error_msg=""' in case statement. This change adds a single line to fix the bug.
1 parent 8166b71 commit 272ed35

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

bootstrap-salt.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,7 @@ __check_dpkg_architecture() {
13891389
;;
13901390
"arm64")
13911391
# Saltstack official repository has full arm64 support since 3006
1392+
error_msg=""
13921393
__REPO_ARCH="arm64"
13931394
__REPO_ARCH_DEB="deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=$__REPO_ARCH]"
13941395
;;

0 commit comments

Comments
 (0)