Skip to content

Commit

Permalink
Merge pull request #671 from Glandos/patch-1
Browse files Browse the repository at this point in the history
Fix bashism
  • Loading branch information
Felixoid authored May 25, 2022
2 parents 73b6533 + 9ec3de3 commit ac231fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion contrib/carbonapi/fpm/carbon-user-systemd-reload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ if [ ! -e "${CONF}" ]; then
fi

# reload systemd
[[ -e /bin/systemctl ]] && /bin/systemctl daemon-reload ||:
if [ -e /bin/systemctl ]; then
/bin/systemctl daemon-reload
fi

0 comments on commit ac231fd

Please sign in to comment.