Fixed bug where debug info was always shown.

Removed 'oooo'
This commit is contained in:
Rob Pearce 2021-11-06 14:01:35 +11:00
parent de26b27202
commit bd5cb66f51
1 changed files with 1 additions and 2 deletions

3
t.sh
View File

@ -151,7 +151,7 @@ function saveids() {
local id verbose=0
local ess nids=0
[[ $1 -eq "-v" ]] && verbose=1
[[ $1 == "-v" ]] && verbose=1
if [[ ${#idmap[@]} -gt 0 ]]; then
cp /dev/null $idfile
@ -1433,7 +1433,6 @@ dir=$allcalsdir/$CALID
idfile=$confdir/idmappings_$CALID
if [[ ! -e $idfile ]]; then
oooo
warn "No ID mapping file found for calendar '$CALID' ($idfile)"
confirm "Create one from existing tasks?"
if [[ $? -eq 0 ]]; then