From 5c9fd692456fea66419bb2eab9bc7f1f29631053 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 5 Oct 2007 19:07:37 +0000 Subject: * avoid warning if ld.so.conf doesn't exist (seems to be the case on debian-3.1) git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1370 95ad53e4-c205-0410-b2fa-d234c58c8868 --- bin/slxldd | 1 + 1 file changed, 1 insertion(+) (limited to 'bin') diff --git a/bin/slxldd b/bin/slxldd index 419d5a0f..5c59c093 100755 --- a/bin/slxldd +++ b/bin/slxldd @@ -105,6 +105,7 @@ sub fetchLoaderConfigFile { my $ldConfFile = shift; + return unless -e $ldConfFile; my $ldconfFH; if (!open($ldconfFH, '<', $ldConfFile)) { warn(_tr("unable to open file '%s' (%s)", $ldConfFile, $!)); -- cgit v1.2.3-55-g7522