diff options
-rwxr-xr-x | kvmx | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |