]> gitweb.fluxo.info Git - kvmx.git/commitdiff
Oops
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 21 Jun 2018 15:50:04 +0000 (12:50 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 21 Jun 2018 15:50:04 +0000 (12:50 -0300)
kvmx

diff --git a/kvmx b/kvmx
index 6aa1ac42937ef1447b83282188f39de86b91fe6a..e63987966438e84e791799cc78263935156ff57e 100755 (executable)
--- 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