From 73622ebf81a066c83dc20587b17b7764a3b7d430 Mon Sep 17 00:00:00 2001 From: xsz233 Date: Tue, 13 Sep 2022 20:35:25 +0800 Subject: [PATCH] IssueNo: I5QW28 Description: delete printed udid Sig:SIG_ApplicaitonFramework Feature or Bugfix:Bugfix Binary Source:No Signed-off-by: xsz233 --- services/bundlemgr_lite/tools/src/command_parser.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/bundlemgr_lite/tools/src/command_parser.cpp b/services/bundlemgr_lite/tools/src/command_parser.cpp index a25255d..611aa78 100644 --- a/services/bundlemgr_lite/tools/src/command_parser.cpp +++ b/services/bundlemgr_lite/tools/src/command_parser.cpp @@ -282,9 +282,7 @@ void CommandParser::RunAsGetUdidCommand(int32_t argc, char *argv[]) const } char *devUdid = udid; int ret = GetDevUdid(devUdid, sizeof(udid)); - if (ret == EOK) { - cout << devUdid << endl; - } else { + if (ret != EOK) { cout << "Get Udid error ret = " << ret << endl; } } -- Gitee