mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-09 15:14:17 +00:00
debug logs
This commit is contained in:
@@ -741,9 +741,14 @@ def main():
|
|||||||
LOG.err('interrupted')
|
LOG.err('interrupted')
|
||||||
ret = False
|
ret = False
|
||||||
|
|
||||||
|
if o.debug:
|
||||||
|
LOG.dbg('done executing command')
|
||||||
|
|
||||||
if ret and o.conf.save():
|
if ret and o.conf.save():
|
||||||
LOG.log('config file updated')
|
LOG.log('config file updated')
|
||||||
|
|
||||||
|
if o.debug:
|
||||||
|
LOG.dbg('return {}'.format(ret))
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ cd ${ddpath} | ${bin} update -f -c ${cfg} --verbose --profile=p1 --key f_abc
|
|||||||
|
|
||||||
# check files haven't been updated
|
# check files haven't been updated
|
||||||
grep 'b' ${dt}/a/c/acfile >/dev/null
|
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
|
## CLEANING
|
||||||
rm -rf ${tmps} ${tmpd}
|
rm -rf ${tmps} ${tmpd}
|
||||||
|
|||||||
Reference in New Issue
Block a user