Skip to content

Commit

Permalink
fix: ... [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
fiksn committed Feb 15, 2023
1 parent 13b28d4 commit a1e181f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ echo "Will use sudo to copy to ${bin_dir}, you will probably need to enter crede
${sudo} mkdir -p ${bin_dir}
${sudo} cp -f *-agent ${bin_dir}

if [ -d "/etc/systemd/system" ] && [ "$restart" == "1" ]; then
if [ -d "/etc/systemd/system" ] && [ "$restart" = "1" ]; then
echo "Restarting ${agent}.service"
${sudo} systemctl enable ${agent}.service
${sudo} systemctl restart ${agent}.service
Expand Down

0 comments on commit a1e181f

Please sign in to comment.