Project

General

Profile

Bug #4892

svccfg man page: incorrect documentation for unsetenv

Added by Nathan Howard almost 6 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2014-05-26
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

The man page for svccfg states:

     unsetenv [-i | -s] [-m method_name] envvar value

however the correct invocation appears to be

    unsetenv [-i | -s] [-m method_name] envvar

as passing value results in a syntax error.

# /usr/sbin/svccfg -s pkgsrc/nagios setenv COWS moo
#

# /usr/sbin/svccfg -s pkgsrc/nagios listprop start/environment
start/environment  astring  COWS=moo
#

# /usr/sbin/svccfg -s pkgsrc/nagios unsetenv COWS moo
svccfg: Syntax error.
#

# /usr/sbin/svccfg -s pkgsrc/nagios unsetenv COWS
#

Also available in: Atom PDF