daemon: don't attempt to wipe the base path
authorJussi Laako <jussi.laako@linux.intel.com>
Wed, 21 Aug 2013 13:17:40 +0000 (16:17 +0300)
committerJussi Laako <jussi.laako@linux.intel.com>
Wed, 21 Aug 2013 13:31:25 +0000 (16:31 +0300)
src/daemon/gsignond-daemon.c

index 3b2a960..735e6e4 100644 (file)
@@ -683,11 +683,6 @@ gsignond_daemon_clear (GSignondDaemon *self,
         WARN ("gsignond_storage_manager_delete_storage() failed");
         retval = FALSE;
     }
-    if (!gsignond_wipe_directory (gsignond_config_get_string (priv->config,
-                                                              GSIGNOND_CONFIG_GENERAL_STORAGE_PATH))) {
-        WARN ("gsignond_wipe_directory() failed");
-        retval = FALSE;
-    }
 
     DBG ("re-create storage");
     if (!_init_storage (self)) {