Skip to content

Commit

Permalink
Double quote to prevent globbing and word splitting. [SC2086]
Browse files Browse the repository at this point in the history
  • Loading branch information
Klintrup committed Dec 3, 2023
1 parent b2480a4 commit a15f788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_smartarray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ then
else
if [ "${ERRORSTRING}" ] || [ "${OKSTRING}" ]
then
echo ${ERRORSTRING} ${OKSTRING}|sed s/"^\/ "//
echo "${ERRORSTRING} ${OKSTRING}"|sed s/"^\/ "//
exit ${ERR}
else
echo no raid volumes found
Expand Down

0 comments on commit a15f788

Please sign in to comment.