Add check-incs.sh to verify incs #14
Loading…
Reference in a new issue
No description provided.
Delete branch "check-incs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -0,0 +15,4 @@
ls -d /backup/incs/$1 > /dev/null 2>&1
}
jail_exists() {
ls -d /backup/jails/$1 > /dev/null 2>&1
Why not
test -d
? OoTo be consistent with
inc_exists
where we need to support globbing.OK. Or, you could loop in place of using
inc_exists ${jail_name}/${inc_date}*;
.I don't understand what you mean.
If you think it's worth investigating, maybe you could post a complete example, to show what is better in the context.
See: #18.