From 8a75a4851439f5b8bc7abf7bbca7581fa419f7d7 Mon Sep 17 00:00:00 2001 From: BianTanggui Date: Mon, 20 Feb 2023 16:08:03 +0800 Subject: [PATCH] Match-id-8afa2c0dd1a37e590464eadfacdd152e559a64ef --- build/scripts/run_main.sh | 2 +- cli/src/utils.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/build/scripts/run_main.sh b/build/scripts/run_main.sh index 87025d1..110ad24 100644 --- a/build/scripts/run_main.sh +++ b/build/scripts/run_main.sh @@ -110,7 +110,7 @@ function install() save_install_args echo "[INFO]: Ascend Docker Runtime has been installed in: ${INSTALL_PATH}" echo "[INFO]: The version of Ascend Docker Runtime is: v${PACKAGE_VERSION}" - echo 'please reboot docker daemon to take effect' + echo 'please reboot daemon and container engine to take effect' } function uninstall() diff --git a/cli/src/utils.c b/cli/src/utils.c index 605e381..94c93e0 100644 --- a/cli/src/utils.c +++ b/cli/src/utils.c @@ -195,8 +195,7 @@ int MakeMountPoints(const char *path, mode_t mode) static bool ShowExceptionInfo(const char* exceptionInfo) { - (void)fprintf(stderr, exceptionInfo); - (void)fprintf(stderr, "\n"); + (void)fprintf(stderr, "%s\n", exceptionInfo); return false; } -- Gitee