resurrecting-open-source-projects / scrot

SCReenshOT - command line screen capture utility
Other
495 stars 49 forks source link

reject empty filename earlier rather than later #361

Closed N-R-K closed 1 year ago

N-R-K commented 1 year ago

currently scrot "" returns the following error message:

scrot: strftime returned 0

which isn't very useful. reject empty filenames early on with a more descriptive error message instead.