diff options
Diffstat (limited to 'tools/ideviceprovision.c')
-rw-r--r-- | tools/ideviceprovision.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/ideviceprovision.c b/tools/ideviceprovision.c index 981a7ee..7cd4f3f 100644 --- a/tools/ideviceprovision.c +++ b/tools/ideviceprovision.c | |||
@@ -448,7 +448,9 @@ int main(int argc, char *argv[]) | |||
448 | plist_free(pl); | 448 | plist_free(pl); |
449 | 449 | ||
450 | return res; | 450 | return res; |
451 | } else if (op == OP_COPY) { | 451 | } |
452 | |||
453 | if (op == OP_COPY) { | ||
452 | struct stat st; | 454 | struct stat st; |
453 | const char *checkdir = (param2) ? param2 : param; | 455 | const char *checkdir = (param2) ? param2 : param; |
454 | if ((stat(checkdir, &st) < 0) || !S_ISDIR(st.st_mode)) { | 456 | if ((stat(checkdir, &st) < 0) || !S_ISDIR(st.st_mode)) { |