Ensure we cleanup stale snapshots
This commit is contained in:
1 parent
35789cc102
commit
7f9e1628d9
1 file changed
+1
@@ -25,6 +25,7 @@ create)
|
|||||||
|
|
||||||
for config in "${CONFIGS[@]}"; do
|
for config in "${CONFIGS[@]}"; do
|
||||||
sudo snapper -c "$config" create -c number -d "$DESC"
|
sudo snapper -c "$config" create -c number -d "$DESC"
|
||||||
|
sudo snapper -c "$config" cleanup number
|
||||||
done
|
done
|
||||||
echo
|
echo
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in new issue
Block a user