mirror of
				https://github.com/vmstan/gravity-sync.git
				synced 2025-10-31 00:47:01 -04:00 
			
		
		
		
	Check for rsync too
This commit is contained in:
		
							parent
							
								
									cf80241c9e
								
							
						
					
					
						commit
						028fee30dd
					
				| @ -902,6 +902,20 @@ function detect_ssh { | |||||||
| 
 | 
 | ||||||
| 		exit_nochange | 		exit_nochange | ||||||
| 	fi | 	fi | ||||||
|  | 
 | ||||||
|  | 	MESSAGE="Checking for RSYNC Client on $hostname" | ||||||
|  | 	echo_stat | ||||||
|  | 
 | ||||||
|  | 	if hash rsync 2>/dev/null | ||||||
|  | 	then | ||||||
|  | 		echo_good | ||||||
|  | 	else | ||||||
|  | 		echo_fail | ||||||
|  | 		MESSAGE="${PROGRAM} requires RSYNC be installed" | ||||||
|  | 		echo_info | ||||||
|  | 
 | ||||||
|  | 		exit_nochange | ||||||
|  | 	fi | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| ## Delete Existing Configuration | ## Delete Existing Configuration | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user