We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f83a5d8 commit fce85f1Copy full SHA for fce85f1
security-admin/scripts/setup.sh
@@ -266,7 +266,7 @@ updatePropertyToFilePy(){
266
#Update Properties to File if value is not empty
267
#$1 -> propertyName $2 -> newPropertyValue $3 -> fileName
268
updatePropertyToFilePyIfNotEmpty(){
269
- if [ "${2}" != "" ]
+ if [ -n "${2}" ]
270
then
271
$PYTHON_COMMAND_INVOKER update_property.py $1 "${2}" $3
272
check_ret_status $? "Update property failed for: " $1
0 commit comments