diff --git a/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml b/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml
index 870519e3bf96272de59d8de72fde152f138772c5..8cddcdaff6675790d63a26d19980244f273578bb 100644
--- a/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml
+++ b/snmp_ee_vnf/helm-charts/eechart/charts/snmpexporter/templates/deployment.yaml
@@ -19,7 +19,7 @@ spec:
       initContainers:
         - name: cleanup
           image: busybox:1.28
-          command: ['sh', '-c', 'if [ ! -f "/etc/snmp_exporter/generator.yml" ]; then touch /etc/snmp_exporter/ok.init; fi']
+          command: ['sh', '-c', 'if [ -f "/etc/snmp_exporter/generator.yml" ]; then touch /etc/snmp_exporter/ok.init; fi']
           volumeMounts:
             - name: config-volume
               mountPath: /etc/snmp_exporter