diff options
| -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) | |||
| 1618 | lockdownd_client_free(lockdown); | 1618 | lockdownd_client_free(lockdown); |
| 1619 | lockdown = NULL; | 1619 | lockdown = NULL; |
| 1620 | 1620 | ||
| 1621 | curdir = strdup("/"); | 1621 | if (appid && !use_container) { |
| 1622 | curdir_len = 1; | 1622 | curdir = strdup("/Documents"); |
| 1623 | curdir_len = 10; | ||
| 1624 | } else { | ||
| 1625 | curdir = strdup("/"); | ||
| 1626 | curdir_len = 1; | ||
| 1627 | } | ||
| 1623 | 1628 | ||
| 1624 | if (argc > 0) { | 1629 | if (argc > 0) { |
| 1625 | // command line mode | 1630 | // command line mode |
