Skip to content

Commit 7353c38

Browse files
authored
Merge pull request #68 from stanfish06/claude/issue-62-20260518-0444
fix: auto-raise sudo permission in clean-disk.sh
2 parents bbed091 + a31cf30 commit 7353c38

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

linux/system/clean-disk.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ clean_language_package_managers() {
7676
clean_disk() {
7777
print_info "Cleaning disk space..."
7878

79+
check_sudo_access || return 1
80+
7981
# Clean user cache
8082
print_info "Removing user cache..."
8183
if [[ "$DRY_RUN" != "true" ]]; then

0 commit comments

Comments
 (0)