summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/idevicebackup2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index 47dd4f2..006dd33 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -1706,7 +1706,8 @@ files_out:
1706 afc_file_lock(afc, lockfile, AFC_LOCK_UN); 1706 afc_file_lock(afc, lockfile, AFC_LOCK_UN);
1707 afc_file_close(afc, lockfile); 1707 afc_file_close(afc, lockfile);
1708 lockfile = 0; 1708 lockfile = 0;
1709 do_post_notification(NP_SYNC_DID_FINISH); 1709 if (cmd == CMD_BACKUP)
1710 do_post_notification(NP_SYNC_DID_FINISH);
1710 } 1711 }
1711 } else { 1712 } else {
1712 printf("ERROR: Could not start service %s.\n", MOBILEBACKUP2_SERVICE_NAME); 1713 printf("ERROR: Could not start service %s.\n", MOBILEBACKUP2_SERVICE_NAME);