'No such file or directory' for empty snapshot list
Schnapps does't treat well the situation where the snapshot list is empty (there are no snapshots).
Steps to reproduce
- Flash a medkit onto your eMMC or SD card or delete all existing snapshots (
schnapps delete <n>
). - Reboot your router.
- Run
schnapps list
.
Expected behavior
It displays an empty list/table or a message that there are no snapshots.
Actual behavior
It displays a table header and the following error message:
ls: /mnt/.snapshots/*.info: No such file or directory
Edited by Lukas Jelinek