Actions
Bug #4892
opensvccfg man page: incorrect documentation for unsetenv
Status:
New
Priority:
Low
Assignee:
-
Category:
-
Start date:
2014-05-26
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
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 #
No data to display
Actions