From cbce11c51c6aa5674b01821a7adc7c31f7999c7e Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 28 Jul 2007 14:11:27 +0000 Subject: * changed several class interfaces as a result of trying to integrate support for Debian & Ubunto installation (which is still not complete, though) * fixed some bugs along the way (especially the meta-packagers trying to invoke a private function of OpenSLX::OSSetup::Engine) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1281 95ad53e4-c205-0410-b2fa-d234c58c8868 --- bin/slxldd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/slxldd b/bin/slxldd index 1446940c..419d5a0f 100755 --- a/bin/slxldd +++ b/bin/slxldd @@ -106,8 +106,10 @@ sub fetchLoaderConfigFile my $ldConfFile = shift; my $ldconfFH; - open($ldconfFH, '<', $ldConfFile) - or die(_tr("unable to open file '%s' (%s)", $ldConfFile, $!)); + if (!open($ldconfFH, '<', $ldConfFile)) { + warn(_tr("unable to open file '%s' (%s)", $ldConfFile, $!)); + return; + } while (<$ldconfFH>) { chomp; if (m{^\s*include\s+(.+?)\s*$}i) { -- cgit v1.2.3-55-g7522