diff options
-rwxr-xr-x | jjb/apex/apex-deploy.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jjb/apex/apex-deploy.sh b/jjb/apex/apex-deploy.sh index 0e3985486..aa21697eb 100755 --- a/jjb/apex/apex-deploy.sh +++ b/jjb/apex/apex-deploy.sh @@ -139,7 +139,7 @@ fi DEPLOY_CMD="CONFIG=${CONFIG} RESOURCES=${RESOURCES} LIB=${LIB} ${DEPLOY_CMD}" if [ "$OPNFV_CLEAN" == 'yes' ]; then - if [ -f '/root/inventory/pod_settings.yaml' ]; then + if sudo test -e '/root/inventory/pod_settings.yaml'; then clean_opts='-f /root/inventory/pod_settings.yaml' else clean_opts='' |