mirror of
https://github.com/openharmony/startup_init_lite.git
synced 2026-07-20 01:13:32 -04:00
fix static check
Signed-off-by: yanghongliang <yang_hongliang@hoperun.com>
This commit is contained in:
@@ -47,9 +47,9 @@ static int main_cmd(int argc, char* argv[])
|
||||
if (argc == REBOOT_CMD_NUMBER && strcmp(argv[1], "shutdown") != 0 &&
|
||||
strcmp(argv[1], "updater") != 0 &&
|
||||
strcmp(argv[1], "flashd") != 0 &&
|
||||
#ifdef PRODUCT_RK
|
||||
#ifdef PRODUCT_RK
|
||||
strcmp(argv[1], "loader") !=0 &&
|
||||
#endif
|
||||
#endif
|
||||
strncmp(argv[1], "updater:", strlen("updater:")) != 0 &&
|
||||
strncmp(argv[1], "flashd:", strlen("flashd:")) != 0) {
|
||||
printf("%s", USAGE_INFO);
|
||||
|
||||
Reference in New Issue
Block a user