Skip to content

Commit d7f11d2

Browse files
committed
CI/CD - fix error in bash script
1 parent 373817d commit d7f11d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/screenshot.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ rm -f "$anImg"
1111
scrot -d $aDelay -F "$anImg"
1212

1313
anImgSize=$(wc -c <"$anImg")
14-
if [ $actualsize -lt 2000 ]; then
14+
if [ $actualsize < 2000 ]; then
1515
# retry one more time
1616
mv -f "$anImg" "back-first-${anImg}"
1717
scrot -d 1 -F "$anImg"

0 commit comments

Comments
 (0)