Don't waste time trying to run non-plain file and non-executable files.
authorGuy Harris <guy@alum.mit.edu>
Mon, 27 Mar 2017 19:50:26 +0000 (12:50 -0700)
committerGuy Harris <guy@alum.mit.edu>
Mon, 27 Mar 2017 19:51:26 +0000 (19:51 +0000)
commitbd3196b094ae46fa4396edbb406d68056cba6974
treeff261deeddb8330c462969bafad6060f06df44c5
parentcea97f225aa86fdc01bc47cdc095021c0ed31a1b
Don't waste time trying to run non-plain file and non-executable files.

Directories, and non-executable files, aren't going to be extcap
executables.

This may not make much of a difference for an installed version of
Wireshark, but it makes a difference if you're running from the build
directory.

Change-Id: Ib9953fa04392dc7a8420ddf28bab9726e6050c12
Reviewed-on: https://code.wireshark.org/review/20752
Reviewed-by: Guy Harris <guy@alum.mit.edu>
extcap.c