From 27d0da3bc196d28c1095e7c74054f5a6efb7ccf2 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Tue, 17 May 2011 18:27:14 +0200 Subject: idevicebackup2: fix restore command option handling The constant for --system option was set to 0 resulting in this option not being evaluated. --- tools/idevicebackup2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index 3f38830..d9481f7 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c @@ -76,10 +76,10 @@ enum plist_format_t { }; enum cmd_flags { - CMD_FLAG_RESTORE_SYSTEM_FILES = 0, - CMD_FLAG_RESTORE_REBOOT = (1 << 1), - CMD_FLAG_RESTORE_COPY_BACKUP = (1 << 2), - CMD_FLAG_RESTORE_SETTINGS = (1 << 3) + CMD_FLAG_RESTORE_SYSTEM_FILES = (1 << 1), + CMD_FLAG_RESTORE_REBOOT = (1 << 2), + CMD_FLAG_RESTORE_COPY_BACKUP = (1 << 3), + CMD_FLAG_RESTORE_SETTINGS = (1 << 4) }; static void notify_cb(const char *notification, void *userdata) -- cgit v1.1-32-gdbae