diff --git a/scripts/fast-reboot b/scripts/fast-reboot index 27c22f2497..6f9621c9f1 100755 --- a/scripts/fast-reboot +++ b/scripts/fast-reboot @@ -315,9 +315,9 @@ function reboot_pre_check() exit ${EXIT_FILE_SYSTEM_FULL} fi - # Verify the next image by sonic_installer + # Verify the next image by sonic-installer INSTALLER_VERIFY_RC=0 - sonic_installer verify-next-image > /dev/null || INSTALLER_VERIFY_RC=$? + sonic-installer verify-next-image > /dev/null || INSTALLER_VERIFY_RC=$? if [[ INSTALLER_VERIFY_RC -ne 0 ]]; then error "Failed to verify next image. Exit code: $INSTALLER_VERIFY_RC" exit ${EXIT_SONIC_INSTALLER_VERIFY_REBOOT} diff --git a/scripts/reboot b/scripts/reboot index 0ad25836da..ee5cff2df4 100755 --- a/scripts/reboot +++ b/scripts/reboot @@ -80,8 +80,8 @@ function reboot_pre_check() fi rm ${filename} - # Verify the next image by sonic_installer - local message=$(sonic_installer verify-next-image 2>&1) + # Verify the next image by sonic-installer + local message=$(sonic-installer verify-next-image 2>&1) if [ $? -ne 0 ]; then VERBOSE=yes debug "Failed to verify next image: ${message}" exit ${EXIT_SONIC_INSTALLER_VERIFY_REBOOT} diff --git a/sonic_installer/exception.py b/sonic_installer/exception.py index b0806269f0..08eab7d2ff 100644 --- a/sonic_installer/exception.py +++ b/sonic_installer/exception.py @@ -1,5 +1,5 @@ """ -Module sonic_installer exceptions +Module sonic-installer exceptions """ class SonicRuntimeException(Exception):