morningman commented on code in PR #8982: URL: https://github.com/apache/incubator-doris/pull/8982#discussion_r855042244
########## fe/fe-core/src/main/java/org/apache/doris/PaloFe.java: ########## @@ -303,6 +316,23 @@ private static void checkCommandLineOptions(CommandLineOptions cmdLineOpts) { } else { System.exit(-1); } + } else if (cmdLineOpts.runImageTool()) { + File imageFile = new File(cmdLineOpts.getImagePath()); + if (!imageFile.exists()) { + System.out.println("image does not exist: " + imageFile.getAbsolutePath() + " . Please put an absolute path instead"); + System.exit(0); Review Comment: ```suggestion System.exit(-1); ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org