From bd78e7fc0a63513c645b321a45c64b33275c7456 Mon Sep 17 00:00:00 2001 From: olgeni Date: Thu, 26 Apr 2001 20:10:01 +0000 Subject: Document the "noError" variable. "noError" is used to ignore errors while processing sysinstall scripts. Approved by: jkh --- usr.sbin/sade/sade.8 | 15 ++++++++++++--- usr.sbin/sysinstall/sysinstall.8 | 15 ++++++++++++--- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/usr.sbin/sade/sade.8 b/usr.sbin/sade/sade.8 index 7d1fa2b..8b199b6 100644 --- a/usr.sbin/sade/sade.8 +++ b/usr.sbin/sade/sade.8 @@ -163,9 +163,18 @@ is a single-line comment for documentation purposes (ignored by sysinstall). Each directive must be by itself on a single line, functions taking their arguments by examining known variable names. This requires that you be sure to assign the relevant variables before -calling a function which requires them. When and where a function -depends on the settings of one or more variables will be noted in the -following table: +calling a function which requires them. +.Pp +The +.Ar noError +variable can be assigned before each directive: this will cause any error +detected while processing the directive itself to be ignored. The value of +.Ar noError +will automatically reset to the default "unassigned" every time a directive is +processed. +.Pp +When and where a function depends on the settings of one or more variables +will be noted in the following table: .Pp .Sy "Function Glossary" : .Pp diff --git a/usr.sbin/sysinstall/sysinstall.8 b/usr.sbin/sysinstall/sysinstall.8 index 7d1fa2b..8b199b6 100644 --- a/usr.sbin/sysinstall/sysinstall.8 +++ b/usr.sbin/sysinstall/sysinstall.8 @@ -163,9 +163,18 @@ is a single-line comment for documentation purposes (ignored by sysinstall). Each directive must be by itself on a single line, functions taking their arguments by examining known variable names. This requires that you be sure to assign the relevant variables before -calling a function which requires them. When and where a function -depends on the settings of one or more variables will be noted in the -following table: +calling a function which requires them. +.Pp +The +.Ar noError +variable can be assigned before each directive: this will cause any error +detected while processing the directive itself to be ignored. The value of +.Ar noError +will automatically reset to the default "unassigned" every time a directive is +processed. +.Pp +When and where a function depends on the settings of one or more variables +will be noted in the following table: .Pp .Sy "Function Glossary" : .Pp -- cgit v1.1