mirror of
				https://github.com/maride/barf.git
				synced 2025-10-10 19:06:51 +00:00 
			
		
		
		
	Only check if the target binary exists when it was given as argument
This commit is contained in:
		
							parent
							
								
									fb288938e9
								
							
						
					
					
						commit
						fb4d3768ec
					
				
							
								
								
									
										2
									
								
								barf.sh
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								barf.sh
									
									
									
									
									
								
							| @ -82,7 +82,7 @@ if [ "$POSITIVEADDR" == "" ] && [ "$NEGATIVEADDR" == "" ] || [ "$TARGETFILE" == | |||||||
| fi | fi | ||||||
| 
 | 
 | ||||||
| # check if the arguments are valid | # check if the arguments are valid | ||||||
| if [ ! -e "$TARGETFILE" ]; then | if [ ! "$TARGETFILE" == "" ] && [ ! -e "$TARGETFILE" ]; then | ||||||
| 	echo "The file $TARGETFILE does not exist." | 	echo "The file $TARGETFILE does not exist." | ||||||
| 	SHOWHELP=1 | 	SHOWHELP=1 | ||||||
| fi | fi | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user