summaryrefslogtreecommitdiffstats
path: root/config-db
diff options
context:
space:
mode:
authorOliver Tappe2008-02-20 14:01:39 +0100
committerOliver Tappe2008-02-20 14:01:39 +0100
commite4ababd82200348bfe83ed4485f28423225f87c9 (patch)
tree55316597804e7d135377431985832fb7edac1f74 /config-db
parent* Forgot to change one option from example to vmchooser before (diff)
downloadcore-e4ababd82200348bfe83ed4485f28423225f87c9.tar.gz
core-e4ababd82200348bfe83ed4485f28423225f87c9.tar.xz
core-e4ababd82200348bfe83ed4485f28423225f87c9.zip
* fixed potential use of uninitialized value
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1564 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rwxr-xr-xconfig-db/slxconfig-demuxer3
1 files changed, 2 insertions, 1 deletions
diff --git a/config-db/slxconfig-demuxer b/config-db/slxconfig-demuxer
index 091c8c8b..5d1cbe27 100755
--- a/config-db/slxconfig-demuxer
+++ b/config-db/slxconfig-demuxer
@@ -532,7 +532,8 @@ sub makeInitRamFS
};
# TODO: make debug-level an explicit attribute, it's used in many places!
- if ($info->{kernel_params} =~ m{debug(?:=(\d+))?}) {
+ my $kernelParams = $info->{kernel_params} || '';
+ if ($kernelParams =~ m{debug(?:=(\d+))?}) {
my $debugLevel = defined $1 ? $1 : '1';
$params->{'debug-level'} = $debugLevel;
}