summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2007-12-12 23:13:35 +0100
committerCarlos Garnacho <carlosg@gnome.org>2007-12-12 23:40:04 +0100
commit9882c5b47fd89a2f2a0cbdd44a6f22c4a8ede2d5 (patch)
treecdbbfe5d891df74898765908b79ae08ec33a7475
parent4c3bb488f76cd11f52edf2215bc31fd98f43f1d8 (diff)
Leave empty configuration slots in slackware's rc.inet1.conf
-rw-r--r--Utils/Replace.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utils/Replace.pm b/Utils/Replace.pm
index 2a5a07c..1deeeca 100644
--- a/Utils/Replace.pm
+++ b/Utils/Replace.pm
@@ -1191,7 +1191,7 @@ sub set_rcinet1conf
$iface =~ s/eth//;
$line = "$kw\[$iface\]";
- $val = "\"$val\"" if ($val ne undef);
+ $val = "\"$val\"";
return &split ($file, $line, "[ \t]*=[ \t]*", $val);
}