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:
Love Hörnquist Åstrand
2003-04-17 05:46:45 +00:00
parent fb0aa33a68
commit 9aec260bd0

View File

@@ -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)