summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/service_harddrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index 01b6668a4..070b6dc29 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -128,7 +128,7 @@ foreach my $hw_class (@harddrake::data::tree) {
}
if ($Ident eq "AUDIO") {
# automatic sound slots configuration
- rm_rf("/etc/asound.state");
+ rm_rf("/etc/asound.state") if -e "/etc/asound.state";
harddrake::sound::configure_sound_slots($modules_conf);
next;
} elsif ($Ident eq "ETHERNET") {