Fixed bug where debug info was always shown.
Removed 'oooo'
This commit is contained in:
parent
de26b27202
commit
bd5cb66f51
3
t.sh
3
t.sh
|
@ -151,7 +151,7 @@ function saveids() {
|
||||||
local id verbose=0
|
local id verbose=0
|
||||||
local ess nids=0
|
local ess nids=0
|
||||||
|
|
||||||
[[ $1 -eq "-v" ]] && verbose=1
|
[[ $1 == "-v" ]] && verbose=1
|
||||||
|
|
||||||
if [[ ${#idmap[@]} -gt 0 ]]; then
|
if [[ ${#idmap[@]} -gt 0 ]]; then
|
||||||
cp /dev/null $idfile
|
cp /dev/null $idfile
|
||||||
|
@ -1433,7 +1433,6 @@ dir=$allcalsdir/$CALID
|
||||||
idfile=$confdir/idmappings_$CALID
|
idfile=$confdir/idmappings_$CALID
|
||||||
|
|
||||||
if [[ ! -e $idfile ]]; then
|
if [[ ! -e $idfile ]]; then
|
||||||
oooo
|
|
||||||
warn "No ID mapping file found for calendar '$CALID' ($idfile)"
|
warn "No ID mapping file found for calendar '$CALID' ($idfile)"
|
||||||
confirm "Create one from existing tasks?"
|
confirm "Create one from existing tasks?"
|
||||||
if [[ $? -eq 0 ]]; then
|
if [[ $? -eq 0 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue