checks for connectivity before running updates
This commit is contained in:
		@@ -22,4 +22,5 @@ function zeesh_update () {
 | 
				
			|||||||
    fi
 | 
					    fi
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
zeesh_update
 | 
					ticker_message "zeesh: checking network"
 | 
				
			||||||
 | 
					curl -s http://lavacano.net --connect-timeout 1 > /dev/null && zeesh_update
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user