summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;