ptgdp: Silence rofi errors
This commit is contained in:
		
							
								
								
									
										2
									
								
								ptgdp
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ptgdp
									
									
									
									
									
								
							| @@ -120,7 +120,7 @@ rofimenu() { | ||||
| 			normal dialog-error 5000 | ||||
| 		error "No playlists found" 61 | ||||
| 	fi | ||||
| 	choice="$(rofi -dmenu -i -p "$_name" <<< "$playlists")" | ||||
| 	choice="$(rofi -dmenu -i -p "$_name" <<< "$playlists" 2>/dev/null)" | ||||
| 	[ -z "$choice" ] && error "User aborted at selection" 62 | ||||
| 	playlist "$_optrofi"/"$choice".gdp | ||||
| 	return 0 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user