Merge "Fix installd command line parser"
diff --git a/cmds/installd/installd.c b/cmds/installd/installd.c
index 509909d..7caa146 100644
--- a/cmds/installd/installd.c
+++ b/cmds/installd/installd.c
@@ -255,7 +255,9 @@
                 goto done;
             }
         }
-        cmd++;
+        if (*cmd) {
+          cmd++;
+        }
     }
 
     for (i = 0; i < sizeof(cmds) / sizeof(cmds[0]); i++) {