diff options
Diffstat (limited to 'config-db')
-rwxr-xr-x | config-db/slxconfig-demuxer | 5 |
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 ); } |