get_next_snapshot() bug
i2 opened this issue · comments
In a fresh install, the following error appears:
To reproduce this:
- Do a fresh install of AshOS (any distro)
- Boot into base snapshot
- sudo ash clone 0
- DONOT run any
ash deploy
commands - sudo ash del 1 will cause an error regarding get_next_snapshot() as there is no "snapshot-deploy-aux" yet
Preliminary fix would be to comment 2 lines at:
Lines 251 to 252 in 665329c
Notes:
- Currently deployed snapshot is "snapshot-deploy"
- "snapshot-deploy-aux" doesn't exist as no deploy command has been run yet
I'm on it!