diff options
author | Michael Büsch <mb@bu3sch.de> | 2010-08-10 15:08:02 +0000 |
---|---|---|
committer | Michael Büsch <mb@bu3sch.de> | 2010-08-10 15:08:02 +0000 |
commit | aa03772b7fcda2791c39830dd1957c6d71c04539 (patch) | |
tree | 982b8408ecfd8f05afca9eb1f590793c2284926a /scripts | |
parent | 42296e9aa0019cc5d8dd2e10a9f5fcc1df99a8cb (diff) | |
download | upstream-aa03772b7fcda2791c39830dd1957c6d71c04539.tar.gz upstream-aa03772b7fcda2791c39830dd1957c6d71c04539.tar.bz2 upstream-aa03772b7fcda2791c39830dd1957c6d71c04539.zip |
Fix dl_cleanup.py
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22578 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts')
-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 |