diff options
Diffstat (limited to 'perl-install/standalone')
-rw-r--r-- | perl-install/standalone/drakhosts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakhosts b/perl-install/standalone/drakhosts index 2cf717cca..55736f173 100644 --- a/perl-install/standalone/drakhosts +++ b/perl-install/standalone/drakhosts @@ -58,7 +58,7 @@ sub get_host_data { # 127.0.0.1 localhost.localdomain localhost # 10.0.1.253 guibpiv.guibland.com foreach (cat_($HOSTS)) { - my ($ip, $name, $alias) = $_ =~ /^(\d\S*)\s+(\S*)\s+(.*)$/; + my ($ip, $name, $alias) = /^(\d\S*)\s+(\S*)\s+(.*)$/; $ip and push @listhosts, { ip => $ip, hostname => $name, |