We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0053642 commit 4500cd7Copy full SHA for 4500cd7
src/bkg.sh
@@ -141,13 +141,13 @@ main() {
141
mv "$connections".bak "$connections"
142
143
missed_owners() {
144
- pushd "$BKG_INDEX_DIR" >/dev/null 2>&1 || echo ""
+ pushd "$BKG_INDEX_DIR" >/dev/null 2>&1 || return
145
cutoff=$(get_BKG BKG_BATCH_FIRST_STARTED)
146
git ls-tree -r --name-only "$BKG_INDEX" ./ \
147
| xargs -r -I filename git log -1 --format='%cs filename' filename \
148
| awk -v cutoff="$cutoff" 'cutoff != "" && $1 < cutoff {print}' \
149
| sort | grep -oP '(?<= )[^/]+(?=/)' | uniq | awk '{print "0/"$1}'
150
- popd >/dev/null 2>&1 || echo ""
+ popd >/dev/null 2>&1 || return
151
}
152
153
echo "$(
0 commit comments