mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +01:00 
			
		
		
		
	Merge pull request #1813 from drwetter/file_exec_fix
Fixes the search for a non-executable socat binary
This commit is contained in:
		| @@ -19195,7 +19195,7 @@ find_socat() { | |||||||
|      if [[ $? -ne 0 ]]; then |      if [[ $? -ne 0 ]]; then | ||||||
|           return 1 |           return 1 | ||||||
|      else |      else | ||||||
|           if [[ -x $result ]] && $result -V | grep -iaq 'socat version' ; then |           if [[ -x $result ]] && $result -V 2>&1 | grep -iaq 'socat version' ; then | ||||||
|                SOCAT=$result |                SOCAT=$result | ||||||
|                return 0 |                return 0 | ||||||
|           fi |           fi | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter