From: Michael Büsch Date: Tue, 10 Aug 2010 15:08:02 +0000 (+0000) Subject: Fix dl_cleanup.py X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b0745dd8ce120e5faac8f71eb7ea54d4c5b16e7e;p=openwrt%2Fstaging%2Fblocktrron.git Fix dl_cleanup.py SVN-Revision: 22578 --- diff --git a/scripts/dl_cleanup.py b/scripts/dl_cleanup.py index 48f587de52..67ccbda914 100755 --- a/scripts/dl_cleanup.py +++ b/scripts/dl_cleanup.py @@ -147,7 +147,8 @@ def main(argv): "hdBw:", [ "help", "dry-run", "show-blacklist", "whitelist=", ]) if len(args) != 1: - raise getopt.GetoptError() + usage() + return 1 except getopt.GetoptError: usage() return 1