diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-03-10 12:06:31 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-03-10 12:06:31 -0300 |
commit | 3d4b9ed3853e6332754cb8e157d0f9f601e7ed2b (patch) | |
tree | f1b69f97873b74b060a774a530ab82d5660e9471 | |
parent | fca47fd474977b33af7e081808e20b750ba7467b (diff) | |
download | kvmx-3d4b9ed3853e6332754cb8e157d0f9f601e7ed2b.tar.gz kvmx-3d4b9ed3853e6332754cb8e157d0f9f601e7ed2b.tar.bz2 |
Adds log action
-rwxr-xr-x | kvmx | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -410,6 +410,13 @@ function kvmx_status { fi } +# Print guest log +function kvmx_log { + if [ -e "$LOGFILE" ]; then + cat $LOGFILE + fi +} + # Dispatch if type kvmx_$ACTION 2> /dev/null | grep -q 'function'; then kvmx_initialize |