Don't bother with an interactive prompt for scripted installs; assume the person who wrote the script knew what they were doing, and proceed.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 11530 Build 11884: arc lint + arc unit
Event Timeline
usr.sbin/bsdinstall/partedit/gpart_ops.c | ||
---|---|---|
1055–1056 | "choice = 0;" can be moved above the "if (interactive) {" line to eliminate the need for an "} else {" (improves readability imho) |
Comment Actions
Address dteske's comment by unconditionally setting "choice", and overriding it
for the interactive case.