diff options
Diffstat (limited to 'fastboot/fastboot.c')
-rw-r--r-- | fastboot/fastboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/fastboot.c b/fastboot/fastboot.c index 6a14301..b4262f4 100644 --- a/fastboot/fastboot.c +++ b/fastboot/fastboot.c @@ -843,7 +843,7 @@ int main(int argc, char **argv) return 1; } - if (!strcmp(*argv, "devices")) { + if (argc > 0 && !strcmp(*argv, "devices")) { skip(1); list_devices(); return 0; |