diff options
Diffstat (limited to 'daemon/gvfsbackendafc.c')
-rw-r--r-- | daemon/gvfsbackendafc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/daemon/gvfsbackendafc.c b/daemon/gvfsbackendafc.c index 57d21a49..3da3cafa 100644 --- a/daemon/gvfsbackendafc.c +++ b/daemon/gvfsbackendafc.c @@ -616,6 +616,14 @@ g_vfs_backend_afc_mount (GVfsBackend *backend, break; } + /* An unknown error? Let's try again without prompting */ + if (lerr == LOCKDOWN_E_UNKNOWN_ERROR) + { + g_debug ("Got an unknown lockdown error, retrying after a short sleep\n"); + g_usleep (G_USEC_PER_SEC); + continue; + } + if (lerr != LOCKDOWN_E_PASSWORD_PROTECTED && lerr != LOCKDOWN_E_PAIRING_DIALOG_RESPONSE_PENDING) break; |