From 34acc3f496619beff860bcd5e7bcc46eccc974ca Mon Sep 17 00:00:00 2001 From: Jeremy Huddleston Date: Mon, 31 Jan 2005 21:44:54 +0000 Subject: Don't return an error if there is no asound.state file. Closes bug #80196. (Portage version: 2.0.51-r15) --- media-sound/alsa-utils/files/alsasound | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'media-sound/alsa-utils/files') diff --git a/media-sound/alsa-utils/files/alsasound b/media-sound/alsa-utils/files/alsasound index 7755fa2beefd..99f35aa9276a 100644 --- a/media-sound/alsa-utils/files/alsasound +++ b/media-sound/alsa-utils/files/alsasound @@ -1,5 +1,5 @@ #!/sbin/runscript -# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound,v 1.21 2004/11/29 21:33:27 eradicator Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/alsa-utils/files/alsasound,v 1.22 2005/01/31 21:44:54 eradicator Exp $ # # Gentoo users: add this script to 'boot' run level. # ================================================== @@ -157,7 +157,6 @@ terminate() { restore_mixer() { if [ ! -r $asoundcfg ]; then ewarn "No mixer config in $asoundcfg, you have to unmute your card!" - return 1 elif [ -x $alsactl ]; then CARDS="$(cat /proc/asound/cards | awk '/: / { print $1 }')" for CARDNUM in ${CARDS} -- cgit v1.2.3-65-gdbad