aboutsummaryrefslogtreecommitdiffstats
path: root/fastboot/fastboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'fastboot/fastboot.c')
-rw-r--r--fastboot/fastboot.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fastboot/fastboot.c b/fastboot/fastboot.c
index 8e92017d..911c3f60 100644
--- a/fastboot/fastboot.c
+++ b/fastboot/fastboot.c
@@ -557,6 +557,8 @@ int main(int argc, char **argv)
return 0;
}
+ serial = getenv("ANDROID_SERIAL");
+
while (argc > 0) {
if(!strcmp(*argv, "-w")) {
wants_wipe = 1;