diff options
Diffstat (limited to 'tools/afcclient.c')
| -rw-r--r-- | tools/afcclient.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/afcclient.c b/tools/afcclient.c index e71aea4..c2e2ce3 100644 --- a/tools/afcclient.c +++ b/tools/afcclient.c @@ -1618,8 +1618,13 @@ int main(int argc, char** argv) lockdownd_client_free(lockdown); lockdown = NULL; - curdir = strdup("/"); - curdir_len = 1; + if (appid && !use_container) { + curdir = strdup("/Documents"); + curdir_len = 10; + } else { + curdir = strdup("/"); + curdir_len = 1; + } if (argc > 0) { // command line mode |
