Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
askiiart
825e6c8516
Fix /.new_rootfs/ not being deleted on error (was not empty) 2025-05-04 12:28:00 -05:00

View file

@ -530,7 +530,7 @@ except:
# remove update and akshara stuff if the program errors (either exited by the user or an error) and is updating
if command == update_system and not args.keep_files_on_error:
exec('umount', '-rf', '/.new_rootfs/')
exec('rmdir', '/.new_rootfs/')
exec('rm', '-rf', '/.new_rootfs/')
exec('rm', '-rf', '/.update_rootfs')
exec('rm', '-f', '/.update')
else: