diff options
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-x | perl-install/standalone/drakups | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakups b/perl-install/standalone/drakups index 08a3008c6..47539278e 100755 --- a/perl-install/standalone/drakups +++ b/perl-install/standalone/drakups @@ -18,6 +18,7 @@ detect_devices::probeSerialDevices(); foreach my $ups_device (detect_devices::getUPS()) { my $str = $ups_device->{name} || $ups_device->{DESCRIPTION}; + $str =~ s/ /_/g; if (!exists $struct->{$str}) { $struct->{$str}{port} = $ups_device->{port} || $ups_device->{DEVICE}; |