diff --git a/build/scripts/run_main.sh b/build/scripts/run_main.sh index 87025d1a541fb90e3a863d5b4e5b94afaeb81283..110ad24c8328192e0a3e1598bb096b03360634af 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 605e3812d2fb2a87d9f5db37ea1215e01a7e6672..94c93e0191a737557ce13df0e31c3dc56eeb356c 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; }