summaryrefslogtreecommitdiff
path: root/summain
diff options
context:
space:
mode:
Diffstat (limited to 'summain')
-rwxr-xr-xsummain2
1 files changed, 2 insertions, 0 deletions
diff --git a/summain b/summain
index b82c108..55bb855 100755
--- a/summain
+++ b/summain
@@ -128,6 +128,8 @@ class Summain(cliapp.Application):
dirnames.sort()
for filename in sorted(filenames):
yield os.path.join(dirname, filename)
+ elif not os.path.exists(root):
+ raise cliapp.AppException('Does not exist: %s' % root)
else:
yield root