aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx3
1 files changed, 3 insertions, 0 deletions
diff --git a/kvmx b/kvmx
index 1c30ad6..80fbcff 100755
--- a/kvmx
+++ b/kvmx
@@ -1661,6 +1661,9 @@ function kvmx_shell {
if ! echo $restricted_actions | grep -q ":${STDIN[0]}:"; then
echo "Running in restricted shell mode."
echo "Allowed commands are only `echo $restricted_actions | tr ':' ' '`"
+ else
+ # Process command
+ $APP_BASE/kvmx ${STDIN[0]} $VM ${STDIN[@]:1}
fi
else
# Process command