summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Tappe2008-05-28 23:41:00 +0200
committerOliver Tappe2008-05-28 23:41:00 +0200
commit478bca63da79fb79bdca1ba86ef67e35c22d393e (patch)
tree29ed22d0d5f79a624c750d1d30393cbc78ccbbf7
parent* when checking the attributes from within the config-demuxer, we no longer c... (diff)
downloadcore-478bca63da79fb79bdca1ba86ef67e35c22d393e.tar.gz
core-478bca63da79fb79bdca1ba86ef67e35c22d393e.tar.xz
core-478bca63da79fb79bdca1ba86ef67e35c22d393e.zip
* cosmetics: print filename of kernel instead of full path in warning that is
shown when a kernel is being picked automatically git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1808 95ad53e4-c205-0410-b2fa-d234c58c8868
-rw-r--r--config-db/OpenSLX/ConfigDB.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/config-db/OpenSLX/ConfigDB.pm b/config-db/OpenSLX/ConfigDB.pm
index 25f2833c..ea1b6643 100644
--- a/config-db/OpenSLX/ConfigDB.pm
+++ b/config-db/OpenSLX/ConfigDB.pm
@@ -17,6 +17,7 @@ our (@ISA, @EXPORT_OK, %EXPORT_TAGS, $VERSION);
$VERSION = 1; # API-version
use Clone qw(clone);
+use File::Basename;
use Exporter;
@ISA = qw(Exporter);
@@ -2839,7 +2840,7 @@ sub aggregatedSystemFileInfoFor
warn(
_tr(
"setting kernel of system '%s' to '%s'!",
- $info->{name}, $kernelFile
+ $info->{name}, basename($kernelFile)
)
);
}