diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2010-01-26 15:29:53 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2010-01-26 15:29:53 +0000 |
| commit | 2e9f91310bd984d4fd63be9207f00df904e2fe46 (patch) | |
| tree | 2006d5e1add1e2289447eebb7f0b05cad8f4a3a6 /usr.sbin/sysinstall | |
| parent | 0c61f21af596517608884aa80f26228a240b3e74 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/sysinstall')
| -rw-r--r-- | usr.sbin/sysinstall/dist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c index 5c9fe1cb316e..1a2dd5bce0db 100644 --- a/usr.sbin/sysinstall/dist.c +++ b/usr.sbin/sysinstall/dist.c @@ -775,6 +775,10 @@ distSetDoc(dialogMenuItem *self) { int i; + /* Assume no docs for non-interactive installs. */ + if (variable_get(VAR_NONINTERACTIVE)) + return DITEM_SUCCESS | DITEM_RESTORE; + dialog_clear_norefresh(); if (!dmenuOpenSimple(&MenuDocInstall, FALSE)) i = DITEM_FAILURE; |
