summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
Diffstat (limited to 'config-db')
-rwxr-xr-xconfig-db/slxconfig-demuxer5
1 files changed, 3 insertions, 2 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer
index 00b269fd..fe8df03e 100755
--- a/config-db/slxconfig-demuxer
+++ b/config-db/slxconfig-demuxer
@@ -627,11 +627,12 @@ sub writeSystemConfiguration
# version and add a warning if it does not:
my $uclibcVersionPath
= "$openslxConfig{'private-path'}/stage1/$info->{'vendor-os'}->{name}/opt/openslx/uclib-rootfs.version";
- chomp(my $uclibcVersion = slurpFile($uclibcVersionPath));
+ chomp(my $uclibcVersion
+ = slurpFile($uclibcVersionPath, { failIfMissing => 0 } ));
chomp(my $currVersion = qx{slxversion});
if ($uclibcVersion ne $currVersion) {
warn _tr(
- "uclibc-rootfs for system '%s' is not up-to-date - consider updating the vendor-OS!",
+ "uclibc-rootfs for system '%s' may not be up-to-date - consider updating the vendor-OS!",
$info->{name}, $uclibcVersion, $currVersion
);
}