Skip to content

Commit

Permalink
fixed crash trying to access install-type before created
Browse files Browse the repository at this point in the history
  • Loading branch information
tvarsis committed Jun 15, 2021
1 parent d1ec82a commit 636ae4e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packaging/installer/kickstart-static64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ safe_sha256sum() {

mark_install_type() {
install_type_file="/opt/netdata/etc/netdata/.install-type"
# shellcheck disable=SC1090
. "${install_type_file}"
cat > "${install_type_file}" <<-EOF
INSTALL_TYPE='kickstart-static'
PREBUILT_ARCH='${PREBUILT_ARCH}'
Expand Down

0 comments on commit 636ae4e

Please sign in to comment.