We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abe4904 commit 00da160Copy full SHA for 00da160
monitor/src/screenshot-guest.sh
@@ -4,4 +4,5 @@ set -euo pipefail -o bsdecho
4
guest_name=$1; shift
5
output_path=$1; shift
6
7
-virsh screenshot -- "$guest_name" "$output_path" > /dev/null
+# Squelch errors due to guests being shut off
8
+virsh screenshot -- "$guest_name" "$output_path" > /dev/null 2>&1
0 commit comments