add -x to pgrep
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
		
					parent
					
						
							
								4cd70b7abb
							
						
					
				
			
			
				commit
				
					
						0e8d36f592
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -23,4 +23,5 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
process="$__object_id"
 | 
					process="$__object_id"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
pgrep -f "$process" || true
 | 
					ps aux
 | 
				
			||||||
 | 
					pgrep -x -f "$process" || true
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue