Skip to content

Commit 0be0036

Browse files
Copilotgsanchietti
andcommitted
Fix: use POSIX-compliant = operator instead of == for string comparison
Co-authored-by: gsanchietti <804596+gsanchietti@users.noreply.github.com>
1 parent 04918c0 commit 0be0036

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ns-phonehome/files/send-phonehome

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ curl -m 180 --retry 3 -L -s \
2525

2626
# Temporary send data to new endpoint
2727
# To be removed when the migration to new my.nethesis.it will be completed
28-
if [ "$TYPE" == "enterprise" ]; then
28+
if [ "$TYPE" = "enterprise" ]; then
2929
SYSTEM_ID=$(uci -q get ns-plug.config.system_id)
3030
SYSTEM_SECRET=$(uci -q get ns-plug.config.secret)
3131
/usr/bin/curl -m 180 --retry 3 -L -s --user "$SYSTEM_ID:$SYSTEM_SECRET" \

0 commit comments

Comments
 (0)