summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index ce4ed23..eebbd87 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -96,6 +96,9 @@ static int backup_domain_changed = 0;
static void notify_cb(const char *notification, void *userdata)
{
+ if (strlen(notification) == 0) {
+ return;
+ }
if (!strcmp(notification, NP_SYNC_CANCEL_REQUEST)) {
PRINT_VERBOSE(1, "User has cancelled the backup process on the device.\n");
quit_flag++;