.bashrc
changeset 999 fb93b077af25
parent 998 1b3bc0a2de41
child 1002 a9073ca0921b
--- a/.bashrc	Wed Jun 08 00:39:34 2022 +0300
+++ b/.bashrc	Wed Jun 08 15:38:53 2022 +0300
@@ -333,7 +333,7 @@
   VBoxManage list runningvms |& while read line; do
     # Parse UUID in: "Name with spaces" {UUID}
     line=${line##*'{'}
-    line=${line%'}'*}
+    local uuid=${line%'}'*}
     VBoxManage controlvm "$uuid" acpipowerbutton
   done
 }