oops i forgot to remove the dir
This commit is contained in:
parent
c968609b60
commit
541589ca19
1 changed files with 1 additions and 0 deletions
1
akshara
1
akshara
|
@ -524,6 +524,7 @@ except:
|
||||||
# remove update and akshara stuff if the program is exited
|
# remove update and akshara stuff if the program is exited
|
||||||
exec('umount', '-rf', '/.new_rootfs/')
|
exec('umount', '-rf', '/.new_rootfs/')
|
||||||
exec('rmdir', '/.new_rootfs/')
|
exec('rmdir', '/.new_rootfs/')
|
||||||
|
exec('rm', '-rf', '/.new_rootfs')
|
||||||
exec('rm', '-rf', '/.update_rootfs')
|
exec('rm', '-rf', '/.update_rootfs')
|
||||||
# it's basically impossible to ^C before akshara has exited but after it's created this file
|
# it's basically impossible to ^C before akshara has exited but after it's created this file
|
||||||
# and i don't *think* that "update" would be destructive at all (unless it failed to run and would't boot), but i don't quite understand it soooo just to be on the safe side
|
# and i don't *think* that "update" would be destructive at all (unless it failed to run and would't boot), but i don't quite understand it soooo just to be on the safe side
|
||||||
|
|
Loading…
Reference in a new issue