diff options
author | Mike Lockwood <lockwood@google.com> | 2014-11-21 05:02:50 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-11-21 05:02:51 +0000 |
commit | 754f16fcf4b56f52450f91e3e840bad8a2cc997c (patch) | |
tree | c6100a9f89e27fed0690548a9e331f57e6484c37 | |
parent | c894c2045f589571c80af0648e7a9dcd7e97b6a8 (diff) | |
parent | 62bb385728121b456782d205f6e27d0c18be9c0b (diff) | |
download | native-754f16fcf4b56f52450f91e3e840bad8a2cc997c.tar.gz |
Merge "Fix installd command line parser"
-rw-r--r-- | cmds/installd/installd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmds/installd/installd.c b/cmds/installd/installd.c index 509909db09..7caa146546 100644 --- a/cmds/installd/installd.c +++ b/cmds/installd/installd.c @@ -255,7 +255,9 @@ static int execute(int s, char cmd[BUFFER_MAX]) goto done; } } - cmd++; + if (*cmd) { + cmd++; + } } for (i = 0; i < sizeof(cmds) / sizeof(cmds[0]); i++) { |