Fix /.new_rootfs/
not being deleted on error (was not empty)
This commit is contained in:
parent
48ad492117
commit
825e6c8516
1 changed files with 1 additions and 1 deletions
2
akshara
2
akshara
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue