diff --git a/dotdrop/dotdrop.py b/dotdrop/dotdrop.py index 6840bcf..c4b2748 100644 --- a/dotdrop/dotdrop.py +++ b/dotdrop/dotdrop.py @@ -308,7 +308,7 @@ def main(): tmp = get_tmpdir() opts['dopts'] = args['--dopts'] ret = compare(opts, conf, tmp, args['--files']) - if ret: + if os.listdir(tmp): LOG.raw('\ntemporary files available under %s' % (tmp)) else: os.rmdir(tmp)