summaryrefslogtreecommitdiffstats
path: root/lib/control.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/control.sh')
-rw-r--r--lib/control.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/control.sh b/lib/control.sh
index 072f6e8..e44ccc2 100644
--- a/lib/control.sh
+++ b/lib/control.sh
@@ -202,7 +202,8 @@ ${line# }"
## of uppercase and lowercase Latin letters, digits, and
## hyphens and must be at least one character long.
## @operand value req The value of the substitution variable.
-## @return Always returns 125. FIXME
+## @return Returns 0 on success, or 125 if called with an incorrect number of
+## arguments or if \fIname\fP contains invalid characters.
## @pure no This function sets an internal global variable.
ob_set_substvar()
{
@@ -240,7 +241,7 @@ ob_set_substvar()
eval "_OB_SUBSTVAR_${name}='${value}'"
- return 125
+ return 0
}
ob_substvars()