diff --git a/scripts/clear_space.sh b/scripts/clear_space.sh index 14998d6c..551ccdc1 100755 --- a/scripts/clear_space.sh +++ b/scripts/clear_space.sh @@ -2,4 +2,5 @@ sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc /etc/mysql /etc/php sudo -E apt-mark hold grub-efi-amd64-signed sudo -E apt update -sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* moby* snap* +sudo -E apt -y purge azure-cli* docker* ghc* zulu* llvm* firefox google* dotnet* powershell* openjdk* mysql* php* mongodb* dotnet* snap* moby* 2>&1 +exit 0 diff --git a/scripts/hardware_info.sh b/scripts/hardware_info.sh index b7fe5b38..6c3a5043 100755 --- a/scripts/hardware_info.sh +++ b/scripts/hardware_info.sh @@ -23,3 +23,4 @@ echo -e "----------------------------------------------------------------------- echo -e "运行器详细信息:\n" sudo lshw echo -e "-----------------------------------------------------------------------------\n" +exit 0 \ No newline at end of file