diff --git a/bin/osc-api-seems-valid.sh b/bin/osc-api-seems-valid.sh index de662bc..49fd59c 100755 --- a/bin/osc-api-seems-valid.sh +++ b/bin/osc-api-seems-valid.sh @@ -1,6 +1,8 @@ #!/bin/bash # check if $1 is valide, if $2 is present, remove invalide file +shopt -s expand_aliases +source ../config.sh test=$(json-search -sn Request $1 | json-search -n properties) test_ret=$?