move "setpag if (argc < 1)" to common path
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13851 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -766,14 +766,15 @@ main (int argc, char **argv)
|
||||
krb4_cc_name = NULL;
|
||||
}
|
||||
}
|
||||
if (k_hasafs ())
|
||||
k_setpag();
|
||||
} else
|
||||
ret = krb5_cc_default (context, &ccache);
|
||||
}
|
||||
if (ret)
|
||||
krb5_err (context, 1, ret, "resolving credentials cache");
|
||||
|
||||
if(argc > 1 && k_hasafs ())
|
||||
k_setpag();
|
||||
|
||||
if (lifetime) {
|
||||
int tmp = parse_time (lifetime, "s");
|
||||
if (tmp < 0)
|
||||
|
Reference in New Issue
Block a user