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 5f9cd630d..e25f48b9d 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -21,7 +21,7 @@ my $force = member('--force', @ARGV);
my $mode = $ARGV[0] eq 'stop' && 'stop';
if ($mode eq 'stop') {
- append_to_file('/etc/hotplug/blacklist', "\nsnd-usb-audio\n");
+ substInFile { $_ .= "snd-usb-audio\n" if eof } '/etc/hotplug/blacklist';
c::_exit(0);
}