From: Silvio Rhatto Date: Thu, 21 Jun 2018 15:50:04 +0000 (-0300) Subject: Oops X-Git-Tag: 0.1.0~196 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b07485ac391ddbf17df921d78e98dd61d46477be;p=kvmx.git Oops --- diff --git a/kvmx b/kvmx index 6aa1ac4..e639879 100755 --- a/kvmx +++ b/kvmx @@ -1834,7 +1834,7 @@ function kvmx_shell { restricted_actions="$restricted_actions:wipe:shred:app_base:version:list_image:kill:" # While a "quit" command isn't entered, read STDIN - while read -rep "$last_exist_code kvmx:/${USER}@${VM}> " STDIN; do + while read -rep "$last_exit_code kvmx:/${USER}@${VM}> " STDIN; do history -s "$STDIN" if [ "$STDIN" == "quit" ] || [ "$STDIN" == "exit" ] || [ "$STDIN" == "bye" ]; then