diff options
author | Mike Lockwood <lockwood@google.com> | 2014-11-21 05:10:57 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-11-21 05:10:57 +0000 |
commit | 8b1a27740dc9910ffbdf0df775056b6647fe111c (patch) | |
tree | 3d3f420a3611680a9c1ff00c7cb1de431042a815 | |
parent | eb0ad057628f18bf762084b5bbefa81c3a228e3f (diff) | |
parent | 754f16fcf4b56f52450f91e3e840bad8a2cc997c (diff) | |
download | frameworks_native-8b1a27740dc9910ffbdf0df775056b6647fe111c.zip frameworks_native-8b1a27740dc9910ffbdf0df775056b6647fe111c.tar.gz frameworks_native-8b1a27740dc9910ffbdf0df775056b6647fe111c.tar.bz2 |
am 754f16fc: Merge "Fix installd command line parser"
* commit '754f16fcf4b56f52450f91e3e840bad8a2cc997c':
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 86f7468..4dd83ae 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++) { |