Skip to content

Commit

Permalink
Update AWSutils.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Loren Gordon <lorengordon@users.noreply.github.com>
  • Loading branch information
ferricoxide and lorengordon authored Oct 18, 2024
1 parent 09dc5e0 commit 06c7679
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AWSutils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ function InstallCfnBootstrap {
err_exit "Failed making cfn-hup service executable"

err_exit "Using alternatives to configure cfn-hup symlink and initscript..." NONE
chroot "${CHROOTMNT}" alternatives --verbose --install /opt/aws/bin/cfn-hup cfn-hup /usr/local/bin/cfn-hup 1 --initscript cfn-hup || \
err_exit "Failed configuring cfn-hup symlink and initscript"
chroot "${CHROOTMNT}" alternatives --verbose --install /opt/aws/bin/cfn-hup cfn-hup /usr/local/bin/cfn-hup 1 || \
err_exit "Failed configuring cfn-hup symlink"

# Install systemd-supporting content
InstallCfnBootstrap_systemd
Expand Down

0 comments on commit 06c7679

Please sign in to comment.