aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsboconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sboconfig b/sboconfig
index a621207..819602d 100755
--- a/sboconfig
+++ b/sboconfig
@@ -129,7 +129,7 @@ if (exists $changes{SLACKWARE_VERSION}) {
sub config_write {
script_error('config_write requires at least two arguments.') unless @_ >= 2;
- my $conf = slurp($conf_file);
+ my $conf = slurp($conf_file) || '';
_fixup_conf($conf);
while (@_ >= 2) {