[FELIX-3467] Configuration is not flush back to the file

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1327156 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java
index 26a4c70..c28c70f 100644
--- a/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java
+++ b/fileinstall/src/main/java/org/apache/felix/fileinstall/internal/ConfigInstaller.java
@@ -98,7 +98,7 @@
     {
         // Check if writing back configurations has been disabled.
         {
-            if (shouldSaveConfig())
+            if (!shouldSaveConfig())
             {
                 return;
             }