Fixed typo.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Wed, 08 Jun 2022 15:38:53 +0300
changeset 999 fb93b077af25
parent 998 1b3bc0a2de41
child 1000 e3e1539cafa9
Fixed typo.
.bashrc
--- 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
 }