diff options
author | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-10 15:08:02 +0000 |
---|---|---|
committer | mb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-08-10 15:08:02 +0000 |
commit | 672b7efe2ab60460e1343f46946a11149f900c54 (patch) | |
tree | 982b8408ecfd8f05afca9eb1f590793c2284926a | |
parent | 24f720d08339e35d6440e3a964fb1783afbdd0c2 (diff) |
Fix dl_cleanup.py
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22578 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-x | scripts/dl_cleanup.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |