Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Stone <michael@laptop.org>2009-12-06 00:50:24 (GMT)
committer Michael Stone <michael@laptop.org>2009-12-06 00:50:24 (GMT)
commit56ba59b8cb3f818416eb43a1b7a93b59058a81e9 (patch)
tree08230b22485e91c70f5ff1ae46bdb44def652899
parent6c03148e8b66476e2b8ae672aff8328191aab6c2 (diff)
Improve spool detection checks.
-rwxr-xr-xrainbow/bin/rainbow-gc1
1 files changed, 1 insertions, 0 deletions
diff --git a/rainbow/bin/rainbow-gc b/rainbow/bin/rainbow-gc
index 20605ff..1dc7bf5 100755
--- a/rainbow/bin/rainbow-gc
+++ b/rainbow/bin/rainbow-gc
@@ -83,6 +83,7 @@ def main():
report = make_reporter(opts.verbose, opts.quiet, sys.stdout)
def check_spool(opts):
+ assert exists(opts.spool) and isdir(opts.spool)
return opts.spool
spool = check_spool(opts)