make test work again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12081 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -121,10 +121,10 @@ main(int argc, char **argv)
|
|||||||
argc -= optind;
|
argc -= optind;
|
||||||
argv += optind;
|
argv += optind;
|
||||||
|
|
||||||
if (argc != 2)
|
if (argc != 1)
|
||||||
errx(1, "first argument should be a local user that in root .k5login");
|
errx(1, "first argument should be a local user that in root .k5login");
|
||||||
|
|
||||||
user = argv[1];
|
user = argv[0];
|
||||||
|
|
||||||
ret = krb5_init_context(&context);
|
ret = krb5_init_context(&context);
|
||||||
if (ret)
|
if (ret)
|
||||||
|
Reference in New Issue
Block a user