diff options
Diffstat (limited to 'source4/setup/setexpiry')
-rwxr-xr-x | source4/setup/setexpiry | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/setup/setexpiry b/source4/setup/setexpiry index 57c46f4dff..2740326f2b 100755 --- a/source4/setup/setexpiry +++ b/source4/setup/setexpiry @@ -44,6 +44,8 @@ parser.add_option("--noexpiry", help="Password does never expire", action="store opts, args = parser.parse_args() +filter = opts.filter + if (len(args) == 0) and (filter is None): print "Either the username or '--filter' must be specified!" parser.print_usage() |