diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index 729dead..366aa57 100644 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -741,9 +741,14 @@ def main(): LOG.err('interrupted') ret = False + if o.debug: + LOG.dbg('done executing command') + if ret and o.conf.save(): LOG.log('config file updated') + if o.debug: + LOG.dbg('return {}'.format(ret)) return ret diff --git a/tests-ng/update-ignore.sh b/tests-ng/update-ignore.sh index a16e8af..9794e36 100755 --- a/tests-ng/update-ignore.sh +++ b/tests-ng/update-ignore.sh @@ -99,7 +99,7 @@ cd ${ddpath} | ${bin} update -f -c ${cfg} --verbose --profile=p1 --key f_abc # check files haven't been updated grep 'b' ${dt}/a/c/acfile >/dev/null -[ -e ${dt}/a/newfile ] && exit 1 +[ -e ${dt}/a/newfile ] && echo "should not have been updated" && exit 1 ## CLEANING rm -rf ${tmps} ${tmpd}