diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-02-20 23:14:38 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-02-20 23:14:38 +0000 |
commit | 6cb961f2b1302d6061e108351988e257767c318a (patch) | |
tree | 3b35aa1cbcfe88c64e4411a8515b80a04f4f1cfc /lib | |
parent | a91549b7341d0e80b82b95f934eff62496f61523 (diff) | |
download | drakx-net-6cb961f2b1302d6061e108351988e257767c318a.tar drakx-net-6cb961f2b1302d6061e108351988e257767c318a.tar.gz drakx-net-6cb961f2b1302d6061e108351988e257767c318a.tar.bz2 drakx-net-6cb961f2b1302d6061e108351988e257767c318a.tar.xz drakx-net-6cb961f2b1302d6061e108351988e257767c318a.zip |
silent a couple warnings
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/network.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/network/network.pm b/lib/network/network.pm index ff3c1df..0b3439e 100644 --- a/lib/network/network.pm +++ b/lib/network/network.pm @@ -415,10 +415,10 @@ sub netprofile_modules() { foreach my $module (@m) { my @params = split('\t', $module); my $vals = { - module => @params[0], + module => $params[0], enabled => $params[1] eq '+' ? 1 : 0, - name => @params[2], - description => @params[3], + name => $params[2], + description => $params[3], }; push(@modules, $vals); } |