forked from ungleich-public/ccollect
remove now obsolete code :-)
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
ef4291c722
commit
9d65e1b1bf
1 changed files with 0 additions and 19 deletions
19
ccollect.sh
19
ccollect.sh
|
@ -442,25 +442,6 @@ while [ "${i}" -lt "${no_sources}" ]; do
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
incomplete="$(echo \
|
|
||||||
$(pcmd ls -1 "${ddir}/" | \
|
|
||||||
awk '
|
|
||||||
BEGIN { regexp=ENVIRON["CMARKER"] "$" }
|
|
||||||
$0 ~ regexp {
|
|
||||||
print $0;
|
|
||||||
gsub(ENVIRON["CMARKER"]$,"",$0);
|
|
||||||
print $0
|
|
||||||
}' | tee "${TMP}"))"
|
|
||||||
|
|
||||||
FIXME: stopped here! -> gsub broken
|
|
||||||
|
|
||||||
if [ "${incomplete}" ]; then
|
|
||||||
_techo "Incomplete backups: ${incomplete}"
|
|
||||||
if [ -f "${c_delete_incomplete}" ]; then
|
|
||||||
delete_from_file "${TMP}"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Interval definition: First try source specific, fallback to default
|
# Interval definition: First try source specific, fallback to default
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue