--- embedaddon/strongswan/testing/stop-testing 2020/06/03 09:46:45 1.1.1.1 +++ embedaddon/strongswan/testing/stop-testing 2021/03/17 00:20:09 1.1.1.2 @@ -24,7 +24,12 @@ done for host in $STRONGSWANHOSTS do log_action "Guest $host" - execute "virsh shutdown $host" + + if running_any $host; then + execute "virsh shutdown $host" + else + echo_warn "...not running" + fi rm -f $VIRTIMGSTORE/$host.$IMGEXT done