]> gitweb.hhaalo.de Git - simple-backup.git/commitdiff
fix: offline vms detect master
authorBastian Dehn <hhaalo@arcor.de>
Mon, 18 Jul 2022 19:57:07 +0000 (21:57 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 18 Jul 2022 19:57:07 +0000 (21:57 +0200)
backup

diff --git a/backup b/backup
index 26be99adbd1a4ed309973090289d4b4118c75039..20b2d3a30ca106118dbe487b4dbeb44236728ad1 100755 (executable)
--- a/backup
+++ b/backup
@@ -211,7 +211,7 @@ BackupOnlineVMs()
 BackupOfflineVMs()
 {
        offlineVM=$(ssh -p $remoteport $remoteLogin virsh list --all \
 BackupOfflineVMs()
 {
        offlineVM=$(ssh -p $remoteport $remoteLogin virsh list --all \
-               | grep 'ausgeschalten' | awk '{print $2}')
+               | grep 'ausschalten' | awk '{print $2}')
 
        for VM in $offlineVM; do
                printfStripLine
 
        for VM in $offlineVM; do
                printfStripLine