diff options
Diffstat (limited to 'android')
-rw-r--r-- | android/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/main.c b/android/main.c index cd3fd08..f20ea7b 100644 --- a/android/main.c +++ b/android/main.c @@ -549,7 +549,7 @@ int main(int argc, char **argv) } /* If -system <name> is used, use it to find the initial image */ - if (opts->sysdir != NULL) { + if (opts->sysdir != NULL && !path_exists(opts->system)) { initImage = _getFullFilePath(opts->sysdir, opts->system); } else { initImage = ASTRDUP(opts->system); |