compatibility. Consider always using -a with -K. Based on a patch by
Andrew Deason.
+ Fix k5start and krenew to not incorrectly reject the -b flag in
+ conjunction with -K or a command. Patch from Dr. Lars Hanke.
+
kstart 4.1 (2012-01-07)
Fix a regression introduced in kstart 4.0 that caused k5start -H and
/* Check the arguments for consistency. */
run_as_daemon = (config.keep_ticket != 0 || config.command != NULL);
- if (config.always_renew && run_as_daemon)
+ if (config.always_renew && !run_as_daemon)
die("-a only makes sense with -K or a command to run");
- if (config.background && run_as_daemon)
+ if (config.background && !run_as_daemon)
die("-b only makes sense with -K or a command to run");
if (config.happy_ticket > 0 && config.command != NULL)
die("-H option cannot be used with a command");