[gvfs] afc: Add debug info when house arrest fails to start



commit 87ee9ea43a7e956e21feea51b82a4cbe6dfc395c
Author: Bastien Nocera <hadess hadess net>
Date:   Wed May 20 16:52:23 2015 +0200

    afc: Add debug info when house arrest fails to start
    
    As can happen with some iOS and libplist combinations.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=749639

 monitor/afc/afcvolume.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/monitor/afc/afcvolume.c b/monitor/afc/afcvolume.c
index ae2c4d2..e1731ee 100644
--- a/monitor/afc/afcvolume.c
+++ b/monitor/afc/afcvolume.c
@@ -159,6 +159,7 @@ _g_vfs_afc_volume_update_metadata (GVfsAfcVolume *self)
       lockdownd_service_descriptor_free (lockdown_service);
       if (lerr != LOCKDOWN_E_SUCCESS)
         {
+          g_warning ("Couldn't start com.apple.mobile.house_arrest for UUID %s: %d", self->uuid, lerr);
           idevice_free (dev);
           return 0;
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]