Fix not piping to null
This commit is contained in:
		
							
								
								
									
										2
									
								
								ptgdp
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ptgdp
									
									
									
									
									
								
							@@ -189,7 +189,7 @@ backend-enqueue() { # Enqueues a song
 | 
				
			|||||||
			;;
 | 
								;;
 | 
				
			||||||
		mpd)
 | 
							mpd)
 | 
				
			||||||
			file=${1##$_mpdroot/}
 | 
								file=${1##$_mpdroot/}
 | 
				
			||||||
			if ! mpc add "$file"; then
 | 
								if ! mpc add "$file" > /dev/null 2>&1; then
 | 
				
			||||||
				error "Could not add file: \"$file\" ($?)"
 | 
									error "Could not add file: \"$file\" ($?)"
 | 
				
			||||||
			fi
 | 
								fi
 | 
				
			||||||
			return 0
 | 
								return 0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user