Skip to content

Commit bc812af

Browse files
Copilotgsanchietti
andcommitted
Fix POSIX compliance: change == to = in send-heartbeat
Co-authored-by: gsanchietti <804596+gsanchietti@users.noreply.github.com>
1 parent 34f5bc0 commit bc812af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ns-plug/files/send-heartbeat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fi
2323

2424
# Temporary send data to new endpoint
2525
# To be removed when the migration to new my.nethesis.it will be completed
26-
if [ "$TYPE" == "enterprise" ]; then
26+
if [ "$TYPE" = "enterprise" ]; then
2727
/usr/bin/curl -m 180 --retry 3 -L -s -X POST \
2828
--user "$SYSTEM_ID:$SYSTEM_SECRET" https://my.nethesis.it/proxy/heartbeat >/dev/null
2929
exit 0

0 commit comments

Comments
 (0)