Introduce quiet mode
Malese opened this issue · comments
Martin commented
Introduce quiet mode by use of "q" argument while still writing to history.log/error.log
Redirect stderr from commands within the script to error.log in quiet mode.
Could come in handy if running script from a logout-hook or similar.
Martin commented
The q argument now suppresses output to stdout and messages are only logged to history.log/error.log.
Some error-messages I have still to encounter might fall through though.
Ex: $ sudo vmware-fs-ctl.sh status q