diff options
-rwxr-xr-x | bin/test_torbrowser-launcher.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/test_torbrowser-launcher.sh b/bin/test_torbrowser-launcher.sh index 7739e689..6a27344c 100755 --- a/bin/test_torbrowser-launcher.sh +++ b/bin/test_torbrowser-launcher.sh @@ -28,7 +28,7 @@ cleanup_all() { update_screenshot() { TIMESTAMP=$(date +%Y%m%d%H%M) - xwd -root -silent -display :$SCREEN.0 | xwdtopnm > screenshot.pnm + xwd -root -silent -display :$SCREEN.0 | xwdtopnm > screenshot.pnm 2>/dev/null pnmtopng screenshot.pnm > screenshot.png convert screenshot.png -adaptive-resize 128x96 screenshot-thumb.png cp screenshot.png $RESULTS/screenshot_$TIMESTAMP.png |