resurrecting-open-source-projects / scrot

SCReenshOT - command line screen capture utility
Other
511 stars 51 forks source link

fix displaying incorrect error message #266

Closed N-R-K closed 1 year ago

N-R-K commented 1 year ago

the scrotGrab* functions do not necessarily set errno.

to reproduce run: scrot -s and then cancle the selection with keyboard press.