Skip to content

Commit

Permalink
Update functions.sh: Fix call to addMessage.sh
Browse files Browse the repository at this point in the history
Arguments to the id need to go after the id.
  • Loading branch information
EricClaeys authored Dec 31, 2024
1 parent 8c78aa0 commit 454684a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -489,8 +489,8 @@ function validate_camera()
else
MSG+="\n\nClick this message to ask that Allsky support this camera."
URL="/documentation/explanations/requestCameraSupport.html";
"${ALLSKY_SCRIPTS}/addMessage.sh" --id AM_NOT_SUPPORTED --type warning --msg "${MSG}" --url "${URL}" \
--cmd "${CT}:Click here to see the list of supported ${CT} cameras."
"${ALLSKY_SCRIPTS}/addMessage.sh" --id "AM_NOT_SUPPORTED ${CT}" --type warning --msg "${MSG}" --url "${URL}" \
--cmd "Click here to see the supported ${CT} cameras."
fi

return 2
Expand Down

0 comments on commit 454684a

Please sign in to comment.