X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=check-subvol-stale;h=d514bafa8ed22d047f751cb28a972f3724d0ea16;hp=07926ef49e3af16535a2d62c915f37cd88552426;hb=a1ebefe19ab910d20fad0c2fd88637fee23dee7c;hpb=7f759d320592e791a62cd0a966350e8c53ee0976 diff --git a/check-subvol-stale b/check-subvol-stale index 07926ef..d514baf 100644 --- a/check-subvol-stale +++ b/check-subvol-stale @@ -106,6 +106,7 @@ for d; do snaps=($root_dir/btrbk/$subvol_dir.20*) # Assumes we are in the 21st century. if [[ ! ${snaps[*]} ]]; then # no snapshots yet + # TODO: make this an error and override with a cli flag echo "$0: warning: no snapshots found at $root_dir/btrbk/$subvol_dir.20*. this is expected for a brand new volume" continue fi