summaryrefslogtreecommitdiffstats
path: root/lib/OpenSLX/Basics.pm
diff options
context:
space:
mode:
authorOliver Tappe2007-04-26 20:47:09 +0200
committerOliver Tappe2007-04-26 20:47:09 +0200
commit20fe642549f136f58ee2c285b89c7446e808d3ee (patch)
treef58239b81bd09e55136deeb75f62ab6ca01f2ead /lib/OpenSLX/Basics.pm
parent* added workaround for /lib32 and /usr/lib32 not being referenced in (diff)
downloadcore-20fe642549f136f58ee2c285b89c7446e808d3ee.tar.gz
core-20fe642549f136f58ee2c285b89c7446e808d3ee.tar.xz
core-20fe642549f136f58ee2c285b89c7446e808d3ee.zip
* use Carp::Heavy explicitly in order to avoid problems
with dynamic loading later, in case of being chrooted. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@932 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'lib/OpenSLX/Basics.pm')
-rw-r--r--lib/OpenSLX/Basics.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/OpenSLX/Basics.pm b/lib/OpenSLX/Basics.pm
index 9fa33813..3159afa0 100644
--- a/lib/OpenSLX/Basics.pm
+++ b/lib/OpenSLX/Basics.pm
@@ -33,6 +33,11 @@ use vars qw(%openslxConfig %cmdlineConfig);
### Module implementation
################################################################################
use Carp;
+use Carp::Heavy;
+ # use it here to have it loaded immediately, not at the time when
+ # carp() is being invoked (which might be at a point in time where
+ # the script executes in a chrooted environment, such that the module
+ # can't be loaded anymore).
use FindBin;
use Getopt::Long;
use POSIX qw(locale_h);
@@ -350,4 +355,4 @@ sub die
}
}
-1; \ No newline at end of file
+1;