Fix /proc check on systems that have hardened system
This commit is contained in:
		
							parent
							
								
									3fd4e78b3b
								
							
						
					
					
						commit
						52ead1a6f8
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								debian/rules
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								debian/rules
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -69,7 +69,7 @@ config.status: configure
 | 
			
		|||
	
 | 
			
		||||
	# if /proc is not mounted, check_nagios and check_procs are
 | 
			
		||||
	# silently omitted from build.
 | 
			
		||||
	@if ! [ -d /proc/1 ]; then \
 | 
			
		||||
	@if ! [ -d /proc/$$$$ ]; then \
 | 
			
		||||
	  echo "monitoring-plugins needs a mounted /proc to correctly build"; \
 | 
			
		||||
	  exit 1; \
 | 
			
		||||
	fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue