mirror of
				https://git.proxmox.com/git/mirror_zfs.git
				synced 2025-10-26 18:05:04 +03:00 
			
		
		
		
	Demote egrep to grep in the zpool_id script.
Direct invocation of GNU egrep is deprecated by its man page, and the its argument in the zpool_id script is not an extended expression. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
		
							parent
							
								
									04bf5ecc1f
								
							
						
					
					
						commit
						87193e2b61
					
				| @ -52,7 +52,7 @@ done | |||||||
| # multipathd's naming convention) as our unique persistent key. | # multipathd's naming convention) as our unique persistent key. | ||||||
| # For traditional devices we'll obtain the key from udev's | # For traditional devices we'll obtain the key from udev's | ||||||
| # path_id. | # path_id. | ||||||
| if [ -n "${DM_UUID}" ] && echo "${DM_UUID}" | egrep -q -e '^mpath' ; then | if [ -n "${DM_UUID}" ] && echo "${DM_UUID}" | grep -q -e '^mpath' ; then | ||||||
| 	ID_PATH="dm-uuid-${DM_UUID}" | 	ID_PATH="dm-uuid-${DM_UUID}" | ||||||
| else | else | ||||||
| 	eval `${PATH_ID} ${DEVICE}` | 	eval `${PATH_ID} ${DEVICE}` | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Darik Horn
						Darik Horn